6. Creating and Using Basic Fields : Composite Fields : Table Fields : Table Field Properties
 
Share this page                  
Table Field Properties
All the properties for table fields are described under Common Field Properties, with the exception of the following properties that are specific to the table field type:
ColSeparatorColor
Specifies the color of the lines that separate table field columns
Default: CC_FOREGROUND
ColSeparatorStyle
Specifies the style of the lines that separate table field columns. Valid options are:
LS_DEFAULT (system default value)
LS_SOLID
LS_DASH
LS_DOT
LS_DASHDOT
LS_DASHDOTDOT
Default: LS_SOLID
ColSeparatorWidth
Specifies the width of the lines that separate table field columns. Valid options are:
LW_DEFAULT (system default value)
LW_NOLINE
LW_MINIMUM
LW_EXTRATHIN
LW_VERYTHIN
LW_THIN
LW_MIDDLE
LW_THICK
LW_MAXIMUM
Default: LW_NOLINE
ColumnResizable
Specifies whether the column is resizable
Default: FALSE
ColumnsDisplayed
Specifies the number of visible columns. If fewer than the total number of columns, a horizontal scroll bar appears.
CurOps
Specifies which operations for table fields are enabled or disabled regardless of the frame's mode. Valid options are:
OP_NONE
Specifies that no operations on the table field are allowed
OP_APPEND
Specifies that auto append is allowed at the end of the table field only
OP_APPENDINSERT
Specifies that appending or inserting rows to the table field is allowed
OP_APPENDDELETE
Specifies that auto append at the end of the table field and deleting rows are allowed
OP_APPENDINSERTDELETE
Specifies that all operations on the table field are allowed
OP_DELETE
Specifies that deleting rows from the table field only is allowed
Default: OP_NONE
HasControlButton
Specifies whether OpenROAD creates a control button with default table field commands. You can edit the control button to add more commands or delete or modify the default commands. Possible values are:
TRUE
Specifies default table field commands
FALSE
Does not specify default table field commands
Default: FALSE
For more information about control buttons, see Create a Control Button).
HasHeader
Specifies whether the column titles are displayed. Possible values are:
TRUE
Specifies column headers
FALSE
Specifies no column headers
Default: TRUE
HasHeader Buttons
Specifies whether the column titles are displayed as buttons. The table field has the same appearance as a list view. Possible values are:
TRUE
Specifies that column headers are displayed as buttons
FALSE
Specifies that column headers are not displayed as buttons
Default: TRUE
HasScrollBar
Specifies whether the table field has a scroll bar that lets end users scroll through the rows. Possible values are:
TRUE
Specifies a scroll bar
FALSE
Specifies no scroll bar
Default: TRUE
IsHighlighted
Specifies whether the row that the end user has selected—the current row—is highlighted. Possible values are:
TRUE
Specifies that the current row is highlighted
FALSE
Specifies that the current row is not highlighted
Default: TRUE
NumVisibleRows
Specifies the number of rows to be displayed
Default: 4
QueryOps
Specifies the CurOps value to use when the CurMode property for a frame is set to FM_QUERY
ReadOps
Specifies the CurOps value to use when the CurMode property for a frame is set to FM_READ
RowSeparatorColor
Specifies the color of the lines between table field rows
Default: CC_FOREGROUND
RowSeparatorStyle
Specifies the style of the lines between table field rows. Valid options are:
LS_DEFAULT (system default value)
LS_SOLID
LS_DASH
LS_DOT
LS_DASHDOT
LS_DASHDOTDOT
Default: LS_SOLID
RowSeparatorWidth
Specifies the width of the lines between table field rows. Valid options are:
LW_DEFAULT (system default value)
LW_NOLINE
LW_MINIMUM
LW_EXTRATHIN
LW_VERYTHIN
LW_THIN
LW_MIDDLE
LW_THICK
LW_MAXIMUM
Default: LW_NOLINE
ScrollingChangesSelection
Specifies whether scrolling the selected row out of view sets the new selected row to the topmost or bottommost visible row of the table field, depending on the direction of the scrolling. Otherwise, a single selection is unchanged by scrolling with the scroll bar. Possible values are:
TRUE
Specifies that the selected row changes as rows are scrolled
FALSE
Specifies that the selected row does not change as rows are scrolled
Default:
TRUE, if SelectionType is set to SEL_SINGLE
FALSE, if SelectionType is SEL_MULTIPLE (this property is automatically set to FALSE)
SelectionType
Indicates the number of rows that the end user may select. Valid options are:
SEL_SINGLE
Specifies that only a single row in a list field or table field may be selected at a time
SEL_MULTIPLE
Specifies that multiple rows of a list field or table field may be selected at a time. To make multiple selections, the end user clicks the desired rows while holding down the Shift key.
For more information, see Set Multiple Selections for List Fields and Table Fields.
Default: SEL_SINGLE
Title
Defines the title to be displayed for the table field
UpdateOps
Specifies the CurOps value to use when the CurMode property for a frame is set to FM_UPDATE
User1Ops
Specifies the CurOps value to use when the CurMode property for a frame is set to FM_USER1
User2Ops
Specifies the CurOps value to use when the CurMode property for a frame is set to FM_USER2
User3Ops
Specifies the CurOps value to use when the CurMode property for a frame is set to FM_USER3