Versions Compared

Key

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

...

Code Block
List = SRP_PropertyPanel(PanelCtrl, "GetKeys")

RollUpAll


...

GroupExpanded

Used to programmatically control the expand / collapse display of a single group.

Code Block
SRP_PropertyPanel(PanelCtrl, "GroupExpanded", GroupKey, Boolean)

GroupKey

The key to the group to expand or collapse.

Boolean

1 to expand, 0 to collapse.


...

CollapseAll

Collapses all the groups and Rolls up all the properties in the panel.

Code Block
SRP_PropertyPanel(PanelCtrl, "RollUpAllCollapseAll")

...


...

ExpandAll

Unrolls Expands all the groups and properties in the panel.

Code Block
SRP_PropertyPanel(PanelCtrl, "UnRollAllExpandAll")


...

Examples

Init

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"
    
ItemList<-1> = 1 :@VM: "Carrier"
ItemList<-1> = 2 :@VM: "No."
ItemList<-1> = 2 :@VM: "NameCar"        :@VM: "Name"
ItemList<-1> = 2 :@VM: "MC No."
ItemList<-1> = 2 :@VM: "DOT No."
 
ItemList<-1> = 1 :@VM: "Shipper"
ItemList<-1> = 2 :@VM: "NameShip"       :@VM: "Name"
ItemList<-1> = 2 :@VM: "PhoneShip"      :@VM: "Phone"   :@VM: ""  :@VM: "[PHONE_FORMAT]":@SVM:"[PHONE_FORMAT]"

ItemList<-1> = 1 :@VM: "Cosignee"
ItemList<-1> = 2 :@VM: "NameCon"        :@VM: "Name"
ItemList<-1> = 2 :@VM: "PhoneCon"       :@VM: "Phone"   :@VM: ""  :@VM: "[PHONE_FORMAT]":@SVM:"[PHONE_FORMAT]"

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

...