Page History
...
Code Block |
---|
SRP_PropertyPanel(PanelCtrl, "Init", ItemList, ColWidth, Colors) |
Parameters
ItemList
Pos | Name | Description | Default |
---|---|---|---|
<x, 1> | Level | The item's level in the panel; 1 is the group, 2 is the property | |
<x, 2> | Key | The key to each property; must be unique | |
<x, 3> | Name | (Optional) The text label to use as the property name | Key |
<x, 4> | Type | (Optional) The type of entry / type of cell "B" - two boolean values "C" - custom dropdown list "D" - date / calendar dropdown "X" - checkbox | |
<x, 5> | Conversion | (Optional) Oconv during panel entry SVM Iconv for get/set value | |
<x, 6> | DropList | (Optional) SVM list for boolean or custom dropdowns | |
<x, 7> | Value | Any value to pre-fill into the data section |
ColWidth
The width of each of the two columns, @FM delimited. Can be a number or "Auto" (default is Auto).
...
The default colors of the property panel:
Field | Description | Default |
---|---|---|
<1> | Headers & Gridlines | defaults to a light grays, RGB(240,240,240) |
<2> | Selection | defaults to "Select" |
<3> | Background | defaults to "White" |
...
SetValues
Sets a value or group of values into the property panel, based on the property or property list.
...
Code Block |
---|
SRP_PropertyPanel(PanelCtrl, "SetValues", Values) |
Parameters
Values
Pos | Name | Description |
---|---|---|
<x, 1> | Property | One of the properties currently in the panel; referenced by its key name. |
<x, 2> | Value | The value to assign to the above property (conversion settings apply). |
...
GetValue
Gets a property value based on the provided key.
...
A key to the property value to retrieve.
...
GetKeys
Gets a list of all the keys/properties associated with the current panel.
Usage
Code Block |
---|
List = SRP_PropertyPanel(PanelCtrl, "GetKeys") |
...
RollUpAll
UnRollAll
Examples
...