Listbox property clauses

All listbox clauses are optional.

listbox_type = flag

Listbox type.

label = “text
label_font = “text
label_bgc = rgb_value
label_fgc = rgb_value
label_pen = integer
Screen heading.
Font for the label.
Label background colour.
Label foreground colour.
Pen for the label.

See Listbox label.

data_font = “text
data_bgc = rgb_value
data_fgc = rgb_value
data_pen = integer
Font for the data.
Data background colour.
Data foreground colour.
Pen for the data.

See Listbox data.

caption = “text
caption_pen = integer
Text for help caption.
Pen for display of help caption.

See Listbox caption.

width = integer
rows = integer
Width of listbox window in pixels or columns.
Number of rows in listbox window.

See Listbox size.

palette = integer

Palette number.

style = flags

Style flags.

tooltip = “text

Text for tooltip.

mode = flags

Edit mode flags.

event = func_id
help = func_id
event_enable = flags
Event function.
Help function.
Enabled events.

See Listbox events and functions; The event _enable clause.


Run time only

[window_id.]listbox_id->xcreate = int_expression
[window_id.]listbox_id->ycreate = int_expression

Co-ordinates at which the listbox is created. See Position (initial).

[window_id.]listbox_id->tab_order = int_expression

Position in the parent window’s tab sequence. See Tab order.

[window_id.]listbox_id->topline = int_expression

Top line displayed.


Run time read-only

[window_id.]listbox_id->state &

Current state.

[window_id.]listbox_id->window_handle

Operating system handle.

[window_id.]listbox_id->xorig =
[window_id.]listbox_id->yorig =

The original creation co-ordinates of the listbox. See Position (initial).

[window_id.]listbox_id->xposn =
[window_id.]listbox_id->yposn =

Current co-ordinates. See Position (current).


RELATED TOPICS

Listboxes

Property clauses