About controls

About window controls

You place controls in a window to request and receive information from the user and to present information to the user. For a complete list of standard window controls, open a window in the Window painter and select Insert>Control.

If you often use a control or set of controls with certain properties, such as a group of related radio buttons, you can create a visual user object that contains the control or set of controls. For more about user objects, see Chapter 14, “Working with User Objects.” For information about objects and controls that are native to the Pocket PC and Smartphone platforms, see Chapter 15, “Working with Native Objects and Controls for Windows CE Devices.”

About events

All window controls have events so that users can act on the controls. You write scripts that determine the processing that takes place when an event occurs in the control.

Drawing objects are usually used only to make your window more attractive or to group controls. Only constructor and destructor events are defined for them, but you can define your own events if needed. The drawing objects are Line, Oval, Rectangle, and RoundRectangle.