Versions Compared

Key

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


Init

The means to initially configure and display the property panel.

Usage

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

...

PosNameTypeDescriptionDefault
<x, 1>
LevelIntegerThe item's level in the panel; 1 is the group, 2 is the property

<x, 2>
KeyTextThe key to each property; must be unique

<x, 3>
NameText(Optional) The text label to use as the property name
Key
<x, 4>
TypeText

(Optional) The type of entry / type of cell

"B" - two boolean values

"C" - custom dropdown list

"D" - date / calendar dropdown

"X" - checkbox


<x, 5>
ConversionText(Optional) Oconv during panel entry SVM Iconv for get/set value
<x, 6>
DropListText(Optional) SVM list for boolean or custom dropdowns
<x, 7>
ValueTextAny value to pre-fill into the data section

...

FieldDescriptionDefault
<1>Headers & Gridlinesdefaults to a light grays, RGB(240,240,240) 
<2>Selectiondefaults to "Select"
<3>Backgrounddefaults to "White"

Example

Code Block
ItemList = ""
ItemList<-1> = 1 :@VM: "Load"               
ItemList<-1> = 2 :@VM: "Status"
ItemList<-1> = 2 :@VM: "Entered" :@VM: "" :@VM: "D" :@VM: "D4/":@SVM:"D"
ItemList<-1> = 2 :@VM: "Agent"

ColWidth = 100 :@FM: "A"
Errors = SRP_PropertyPanel(PanelCtrl, "Init", ItemList, ColWidth)

Result