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

SCROLLBAR Style

Previous pageReturn to chapter overviewNext page

 

Equates for SCROLLBAR Control Style.

 

Symbol

Meaning

%SBS_BOTTOMALIGN

Align the bottom edge of the scroll bar with the bottom edge of the dialog, and use the default height of system scroll bars. Used with %SBS_HORZ.

%SBS_HORZ

Make the control a horizontal scroll bar (default).

%SBS_LEFTALIGN

Align the left edge of the scroll bar with the left edge of the dialog, and use the default width of system scroll bars. Used with %SBS_VERT.

%SBS_RIGHTALIGN

Align the right edge of the scroll bar with the right edge of the dialog, and use the default width of system scroll bars. Used with %SBS_VERT.

%SBS_TOPALIGN

Align the top edge of the scroll bar with the top edge of the window, and use the default height of system scroll bars. Used with %SBS_HORZ.

%SBS_VERT

Make the control a vertical scroll bar

%WS_DISABLED

Create a control that is initially disabled. A disabled control cannot receive input from the user.

%WS_GROUP

Define the start of a group of controls. The first control in each group should also use %WS_TABSTOP style. The next %WS_GROUP control in the tab order defines the end of this group and the start of a new group.

%WS_TABSTOP

Allow the scrollbar control to receive keyboard focus when the user presses the TAB and SHIFT+TAB keys. The TAB key shifts keyboard focus to the next control with the %WS_TABSTOP style, and SHIFT+TAB shifts focus to the previous control with %WS_TABSTOP.