Drawing controls – PB Docs 126

Drawing controls

PowerBuilder provides the following drawing controls: Line,
Oval, Rectangle, and RoundRectangle. Drawing controls 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 control. A drawing
control does not receive Windows messages, so a mapped event would
not be useful.

You can use the following functions to manipulate drawing
controls at runtime:

  • Hide

  • Move

  • Resize

  • Show

In addition, each drawing control 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 control.

note.png Never in front

You cannot place a drawing control on top of another control
that is not a drawing control, such as a GroupBox. Drawing controls 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 controls
can be on top of or behind other drawing controls.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x