Listbox styleΒΆ

style = flags

The following flags are currently available:

WS_INVISIBLE

Create invisible.

WS_NOTABSTOP

Stop listbox from receiving input focus.

WS_DISABLED

Create disabled.

WS_CLICKONLY

Only allow the listbox to receive input focus if the user clicks on it.

WS_COMPACT

Reduces the height of a LIST_BUTTON or LIST_EDIT listbox by two pixels. The default height is several pixels greater than a textbox. Using this flag makes a listbox close to the same height as a textbox, which can improve the appearance of screen layouts. Note however that with some data fonts this clips the descenders on lower case characters.

WS_CJT

Centre the listbox label. This is the default.

WS_RJT

Right justify the listbox label.

WS_LJT

Left justify the listbox label.

Default: No flags set.

EXAMPLE

style = WS_INVISIBLE | WS_DISABLED

RELATED TOPICS

Listboxes

Style flags