The predrawn objects pane's objects.

Usage

Set_Property(OLECtrlEntID, "OLE.PredrawnObjects", Array)

Values

Array is an @FM delimited array of objects in Base64 binary format:

Remarks

The PredrawnObjects property populates the one and only predrawn objects pane, assuming you used the Panes property to add one. Predrawn objects are compound shapes composed of other shapes and/or objects. Users can create them at their own discretion in order to reuse complex shapes in their sketches.

You will never set this property with human readable data. Instead, you will read this property, usually when the SRP Sketch Control form's closes, in order to save the predrawn objects to the database. The format of this property is an @FM delimited array with each field being Base64 encoded binary data, much like what you get from the Data property.

Example

// Save our predrawn objects to a SYSLISTS record
Objects = Get_Property(@Window:".OLE_SKETCH", "OLE.PredrawnObjects")
Open "SYSLISTS" to hTable then
   Write Objects to hTable, "PREDRAWN_OBJECTS" then NULL
end

// Load our predrawn objects from a SYSLISTS record
Open "SYSLISTS" to hTable then
   Read Objects from hTable, "PREDRAWN_OBJECTS" then
       Set_Property(@Window:".OLE_SKETCH", "OLE.PredrawnObjects", Objects)
   end
end

See Also

PanesData

  • No labels