Using drawing objects

PocketBuilder provides the following drawing objects: Line, Oval, Rectangle, and RoundRectangle. Drawing objects are usually used only to enhance the appearance of a window or to group controls. However, constructor and destructor events are available, and you can define your own unmapped events for a drawing object. A drawing object does not receive Windows messages, so a mapped event would not be useful.

You can use the following functions to manipulate drawing objects during execution:

In addition, each drawing object has a set of properties that define its appearance. You can assign values to the properties in a script to change the appearance of a drawing object.

NoteNever in front A drawing object cannot be placed on top of another control that is not a drawing object, such as a GroupBox. Drawing objects always appear behind other controls whether or not the Bring to Front or Send to Back items on the pop-up menu are set. However, drawing objects can be on top of or behind other drawing objects.