Navigation:  thinBasic Modules > UI (User Interface) > CONTROLs > CONTROL ADD TRACKBAR >

TRACKBAR Style

Previous pageReturn to chapter overviewNext page

Equates for TRACKBAR Style.

 

Symbol

Meaning

%TBS_AUTOTICKS

The trackbar control has a tick mark for each increment in its range of values.

%TBS_VERT

The trackbar control is oriented vertically.

%TBS_HORZ

The trackbar control is oriented horizontally. This is the default orientation.

%TBS_TOP

The trackbar control displays tick marks above the control. This style is valid only with %TBS_HORZ.

%TBS_BOTTOM

The trackbar control displays tick marks below the control. This style is valid only with %TBS_HORZ.

%TBS_LEFT

The trackbar control displays tick marks to the left of the control. This style is valid only with %TBS_VERT.

%TBS_RIGHT

The trackbar control displays tick marks to the right of the control. This style is valid only with %TBS_VERT.

%TBS_BOTH

The trackbar control displays tick marks on both sides of the control. This will be both top and bottom when used with %TBS_HORZ or both left and right if used with %TBS_VERT

%TBS_NOTICKS

The trackbar control does not display any tick marks.

%TBS_ENABLESELRANGE

The trackbar control displays a selection range only. The tick marks at the starting and ending positions of a selection range are displayed as triangles (instead of vertical dashes), and the selection range is highlighted.

%TBS_FIXEDLENGTH

The trackbar control allows the size of the slider to be changed with the %TBM_SETTHUMBLENGTH message.

%TBS_NOTHUMB

The trackbar control does not display a slider.

%TBS_TOOLTIPS

The trackbar control supports ToolTips. When a trackbar control is created using this style, it automatically creates a default ToolTip control that displays the slider's current position. You can change where the ToolTips are displayed by using the %TBM_SETTIPSIDE message.

%TBS_REVERSED


%TBS_DOWNISLEFT

By default, the trackbar control uses down equal to right and up equal to left. Use the %TBS_DOWNISLEFT style to reverse the default, making down equal left and up equal right.