Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel2
typeflat

Init

The means to initially configure and display the property panel.

...

Code Block
SRP_PropertyPanel(PanelCtrl, "Init", ItemList, ColWidth, Colors)

Parameters

ItemList

PosName
Type
DescriptionDefault
<x, 1>
Level
Integer
The item's level in the panel; 1 is the group, 2 is the property

<x, 2>
Key
Text
The key to each property; must be unique

<x, 3>
Name
Text
(Optional) The text label to use as the property name
Key
<x, 4>
Type
Text

(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
Text
(Optional) Oconv during panel entry SVM Iconv for get/set value
<x, 6>
DropList
Text
(Optional) SVM list for boolean or custom dropdowns
<x, 7>
Value
Text
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).

...

FieldDescriptionDefault
<1>Headers & Gridlinesdefaults to a light grays, RGB(240,240,240) 
<2>Selectiondefaults to "Select"
<3>Backgrounddefaults 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

PosNameDescription
<x, 1>
PropertyOne of the properties currently in the panel; referenced by its key name.
<x, 2>
ValueThe value
associated with
to assign to the above
property;

...

property (conversion settings apply).


...

GetValue

Gets a property value based on the provided key.

Usage

Code Block
SRP_PropertyPanel(PanelCtrl, "GetValue", Property)

Parameters

Property

A key to the property value to retrieve.


...

GetKeys

...

RollUpAll

UnRollAll

Examples