You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

The means to initially configure and display the property panel.  (Note: to use the Date-type dropdown requires the NDW_DATEPICKER form and associated routines)

Errors = SRP_PropertyPanel(PanelCtrl, "Init", ItemList, ColWidth, Colors)

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

Colors

The default colors of the property panel:

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

Dropdown Image Reference

FrameAbbrev.Description
nullnullDefault down arrow
1CALCalendar






Errors

If there are and duplicate keys, they will be noted and returned in the service's response.

  • No labels