Table property clauses

The source_object clause is mandatory; all other clauses are optional.

source_object = identifier

Source object for table values..

display_object = identifier

Object defining table columns. See Table display object.

title = “text
title_font = “text
title_bgc = rgb_value
title_fgc = rgb_value
title_pen = integer
Screen heading.
Font for the title.
Title background colour.
Title foreground colour.
Pen for the title.

See Table title.

label_font = “text
label_bgc = rgb_value
label_fgc = rgb_value
label_pen = integer
Font for the column headings.
Background colour for column headings.
Foreground colour for column headings.
Pen for column headings.

See Table column headings.

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 Table data.

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

See Table caption.

width = integer
rows = integer
Width of table in pixels or columns.
Number of visible rows.

See Table size.

max_line = integer

Maximum number of lines in the table.

palette = integer

Palette number.

style = flags

Style flags.

mode = flags

Edit mode flags.

tooltip = “text

Text for tooltip.

line_fgc = rgb_value

Foreground colour for lines.

colour_record = record_id

Record specifying foreground and background colours for cells in the table. See Table cell colour.

cell_properties = record_id

Record specifying properties for columns in an editable table. See Table cell properties.

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

See Table events and functions; The event _enable clause.


Run time only

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

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

[window_id.]table_id->tab_order = int_expression

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

[window_id.]table_id->topline = int_expression

Top line displayed.


Run time read-only

[window_id.]table_id->state &

Current state.

[window_id.]table_id->window_handle

Operating system handle.

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

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

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

Current co-ordinates. See Position (current).


RELATED TOPICS

Tables

Property clauses