See if this helps for the TrackBar.
Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim myTrackBar As New TrackBar '// Declare New TrackBar. myTrackBar.Minimum = 12 : myTrackBar.Maximum = 25 '// Customize. AddHandler myTrackBar.Scroll, AddressOf TrackBar_Scroll '// Give it a Event to Handle. Dim myCtlHost As New ToolStripControlHost(myTrackBar) MenuStrip1.Items.Add(myCtlHost) '// Add to Main Menu. '// OR... 'FileToolStripMenuItem.DropDownItems.Add(myCtlHost) '// Add to DropDownItems. End Sub Private Sub TrackBar_Scroll(ByVal sender As System.Object, ByVal e As System.EventArgs) ' Handles TrackBar1.Scroll Dim trk As TrackBar = CType(sender, TrackBar) Me.Text = trk.Value.ToString '// For testing. End Sub End Class
If "numeric dropdown" is a ComboBox, right click Menu and view attached image.
Edited 5 Years Ago by codeorder: n/a
Again and again you made it work! And easy! Thanks so much.
Btw, by Numeric Dropdown, I mean this (I've mentioned it wrong, sorry.)
Edited 5 Years Ago by RenanLazarotto: n/a
i am using visual studio 2015 and trying to export data which i am importing through excel by the user selected Excel file. Now the importing part has been successfully completed i am using OLEDB Connection but Stuck in exporting the same data to a new Excel file. tried ...
I am creating a program that when you print an author, you must show all the information of all the books that the author has written. Add a new attribute in the Author class that will be "BooksWriting: List (Book)".
I have expanded the program so that it also ...
I am currently creating a simulation of a pizza ordering system in object oriented program. I have some question. the instruction and guideline is long but I will try and cut it down a lot. the instruction is to create a program that simulate a pizza restaurant using ...