Versions Compared

Key

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

...

PosNameTypeDescription
<0, 1>TypeTextThe type of pane
<0, 2>CaptionTextThe pane's title bar caption
<0, 3>Font Change FlagBooleanEnables font changing for Label panes
<0, 4>FontFontDefault font for Label panes

...

Once the labels pane is created, use the Labels property to add the pane's labels.

...

An icon pane can be added by setting the Type value to Icons. Like labels, the icons provide a way to efficiently drop small images meaningful to the diagram. Icon panes are empty when set with this property, so use the Icons property to add items to it.

...

This pane is populate using the PredrawnObjects property, but you'll never set this using human readable values. Instead, you'll want to read this property when the form containing your SRP Sketch Control is closed so you can save the objects. The next time the sketch is used, you'll read your previously saved objects and pass them to the PredrawnObjects property to restore the user's predefined objects.

...

Code Block
// Add two label panes, an icon pane, and a predrawn objects pane
Panes = ""
Panes<-1> = "Labels"          :@VM:"Codes"           :@VM:1
Panes<-1> = "Labels"          :@VM:"Labels"          :@VM:0:@VM:"Consolas":@SVM:@SVM:700
Panes<-1> = "Icons"           :@VM:"Icons"
Panes<-1> = "Predrawn Objects":@VM:"Predrawn Objects"
Set_Property(@Window:".OLE_SKETCH", "OLE.Panes", Panes)

See Also

LabelsIconsPredrawnObjects