Character windows - listboxesΒΆ

Listboxes


Activating and selecting items from a listbox

Under character windows the RETURN key is used both to open and close a LIST_BUTTON or LIST_EDIT. Closing a box generates a double click event.


Extra properties


border = integer
shadow = integer

Border and shadow style. Border and shadow can only be applied to LIST_BUTTON and LIST_EDIT type listboxes. LIST_BOX types have a standard appearance.


Listbox label

The label is displayed centred in the top border.


Listbox style flags

The following extra flags are available:

WS_INDENT

WS_PLAIN

WS_STANDOUT

Indented border. This is the default.

Plain border.

Standout border.

These flags can be used with LIST_BUTTON and LIST_EDIT boxes. They have no effect unless used with an all-round border style.


Listbox topline clause

The topline clause cannot be used under character windows. If tested, it always returns zero.


RELATED TOPICS

Character windows