This document covers the following topics:
A column specification control is a dialog element that defines the columns in a table control. (A table control is a dialog element that represents a spreadsheet.) Once the table control defines the spreadsheet as such, its columns are defined by adding column-specification controls.
| Attribute Name | Query | Set/Modify | In Attr. Window |
|---|---|---|---|
| CLIENT-DATA | X | X/X | |
| CLIENT-HANDLE | X | X/X | |
| CLIENT-KEY | X | X/X | |
| CLIENT-VALUE | X | X/X | |
| COLUMN-TYPE | X | X/- | X |
| DIL-TEXT | X | X/X | X |
| FIRST-CHILD | X | -/- | |
| HELP-ID | X | X/X | X |
| LAST-CHILD | X | -/- | |
| LENGTH | X | X/- | X |
| MODIFIABLE (input-field) | X | X/X | X |
| MODIFIABLE (selection-box) | X | X/- | X |
| PARENT | X | X/- | |
| PREDECESSOR | X | -/- | |
| RECTANGLE-W | X | X/X | X |
| STRING | X | X/X | X |
| STYLE | X | X/- | |
| SUCCESSOR | X | X/- | |
| SUPPRESS-CHANGE-EVENT | X | -/- | |
| SUPPRESS-CLICK-EVENT | X | X/X | |
| SUPPRESS-DBL-CLICK-EVENT | X | X/X | |
| SUPPRESS-ENTER-EVENT | X | X/X | |
| SUPPRESS-ENTER-CELL-EVENT | X | X/X | |
| SUPPRESS-FILL-EVENT | X | X/X | |
| SUPPRESS-LEAVE-EVENT | X | X/X | |
| SUPPRESS-LEAVE-CELL-EVENT | X | X/X | |
| TYPE | X | X/- | |
| VISIBLE | X | -/- |
The attributes that are valid for column specification controls in general are not always available depending on the value of the attribute COLUMN-TYPE. Such a value might be, for example, "toggle button control". The column then consists of cells that can be used like toggle button controls. For these toggle-button cells, only a subset of the attributes is available.
The following table specifies which attributes are not applicable to a COLUMN-TYPE.
| COLUMN-TYPE | Attributes NOT Available |
|---|---|
| Input field control | (All available.) |
| Selection box control | (All available.) |
| Selection box item | DIL-TEXT, HELP-ID, LENGTH, MODIFIABLE, STYLE, SUPPRESS-CHANGE-EVENT, SUPPRESS-CLICK-EVENT, SUPPRESS-DBL-CLICK-EVENT, SUPPRESS-ENTER-EVENT, SUPPRESS-ENTER-CELL-EVENT, SUPPRESS-LEAVE-EVENT, SUPPRESS-LEAVE-CELL-EVENT, VISIBLE. |
| Toggle button control | LENGTH, STYLE, MODIFIABLE. |
This dialog element does not create events.