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 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 by RenanLazarotto: n/a
I'm creating a program were logs files in a certain directory are presented in a table format.
My issue here is, I created a filter option in which the ...
Hi every one .
i need code for how i set the connection i.e when i execute the project .exe it show me a form in which there is Database ...
I facing problem to change color of DGV Row w.e.o Quantity of Remaining days. I tried it but i got error. PLease, check my code.
public void RowsColor() ...