Description: | The Table control presents data for display and editing in a table. | |||
Sample image: | ||||
Details: | The data of individual cells is handled in TableCell objects. You can access these using the TableCells property. For example to set a cell in the second row of the third column to "ABC": MOVE "ABC" TO "Text" OF "TableCells" (2 3) OF TABLE1 The properties of each column are handled in TableColumn objects. You can access these using the TableColumns property. For example to set the width of the third column to 500 units: MOVE 500 TO "Width" OF "TableColumns" (3) OF Table1 | |||
Editing the TableColumns list: | You can use the following key strokes when editing the TableColums list in the Columns property page of the Table control: [Alt + Up Arrow] : Move the selected elements upward. [Alt + Down Arrow] : Move the selected elements downward. | |||
Input: | You can control which columns can be edited by setting the Writable property to True or False at execution time. Data can be entered to writable table cells when:
Data entry is concluded when:
| |||
Properties: | Appearance AutoRowHeight Array BackColor BackStyle BorderStyle CaptionBackGray CellLines ClassMajorVersion ClassMinorVersion ClassProgID ClickColumn ClickRow | Column ColumnCaption ColumnCount Container DecisionMax- String DefaultRowHeight Enabled Font ForeColor Height HideSelection | Highlight HighlightColor IMEMode Index Left Name Parent Printable Row RowCaption RowCount ScaleMode | ScalingStyle SelectText TabGroup TabIndex TableCells TableColumns TabStop ToolTipText Top Visible Width |
Methods: | ClearTable Move | Refresh SelectCell | SetFocus | ZOrder |
Events: | Click DblClick Edit | GotFocus KeyDown KeyPress | KeyUp LostFocus MouseDown | MouseMove MouseUp Return |
Class ProgID name: | Fujitsu.PcobTable.4 | |||
Corresponding Control in PowerCOBOL V3.0 or earlier: | Table Item. |