GUI Control - Controls Table
19 scripting commands. Also as Markdown for agents.
- ctAddHeaderAdds a header line of controls according to the HeaderTemplate class. Note that rows and headers are indexed separately.
- ctAddRowAdds one row of controls according to the RowTemplate class. It returns an array containing row index and array of created controls in a format…
- ctClearRemoves all the lines from the RscControlsTable. Returns Nothing.
- ctCurSelReturns index of the selected row. Will take only rows, but not headers into account.
- ctDataReturns metadata associated with a particular row of a CT_CONTROLS_TABLE control.
- ctFindHeaderRowsGets array of indices of rows under this header.
- ctFindRowHeaderGets index of the closest header above this row.
- ctHeaderControlsReturns array of controls on the header with the given index.
- ctHeaderCountReturns number of headers (rows not included) in the RscControlsTable.
- ctRemoveHeadersTakes array of header indices as a parameter and removes headers with those indices. Indices of remaining headers will be recomputed.
- ctRemoveRowsTakes array of row indices as a parameter and removes rows with those indices. Indices of remaining rows will be recomputed.
- ctRowControlsReturns array of controls on the row with the given index.
- ctRowCountReturns number of rows (headers not included) in the RscControlsTable.
- ctSetCurSelSelects the line with the given index. Will take only rows, but not headers into account. -1 deselects all. Returns Nothing.
- ctSetDataAssociates metadata (string) with the row determined by the index. Returns Nothing.
- ctSetHeaderTemplateTakes config path to the new header template. Clears the whole RscControlsTable and sets the new header template.
- ctSetRowTemplateTakes config path to the new row template. Clears the whole RscControlsTable and sets the new row template (Deleting all rows and headers is easier…
- ctSetValueAssociates metadata (number) with the row determined by the index. Returns Nothing.
- ctValueReturns metadata (number) associated with a particular row of RscControlsTable.