Versions Compared

Key

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

...

Code Block
Errors = SRP_PropertyPanel(PanelCtrl, "Init", ItemList, ColWidth, Colors, PropertyFont, GroupFont)

Parameters

ItemList

PosNameDescriptionDefault
<x, 1>
LevelThe item's level in the panel - 1 is the group, 2 is the property.

<x, 2>
PropertyKeyThe key to each property - must be unique.

<x, 3>
PropertyName(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
"O" - option button
"V" - varchar
"X" - checkbox
V
<x, 5>
Conversion(Optional) Oconv :SVM: Iconv
none
<x, 6>
Params(Optional) dropdown list or parameters depending on Type (see below).
<x, 7>
Value(Optional) Any 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"

PropertyFont

Standard font parameter, used to adjust the properties and property values.

GroupFont

Standard font parameter, used to adjust the group headers.


...

Types

(B)oolean

PositionDescription
<x,6,1>
Value to be considered as true / yes / 1
<x,6,2>
Value to be considered as false / no / 0

...