Help with trackbar

Discussion in 'Questions (Windows Mobile)' started by luke2153, Jul 19, 2007.

  1. luke2153

    luke2153 New Member


    I am new to this forum and to b4ppc, so there is my first question:

    how do i add a trackbar?
    It does not show up under "controls" in the form-designer...

  2. Erel

    Erel Administrator Staff Member Licensed User

    Some of the controls are available as libraries.
    The TrackBar is such a control.
    You need to add the TrackBar library using Tools - Components.
    Then add the control Tools - Add Object - TrackBar
    Attached is a small example.
    Sub Globals

    End Sub

    Sub App_Start
    End Sub

    Sub bar_ValueChanged
        form1.Text = bar.Value
    End Sub

    Attached Files:

  3. luke2153

    luke2153 New Member

    Thank you!

    Works fine now!!!