Graphical User Interfaces

Display Objects

 

Besides the interactive Control Objects that add functionality to a GUI panel, other graphical components are needed to help with the usability, organization and layout of your graphical application.

These are display-only objects, such as text and labels, images and shapes drawn on the canvas of the graphical panel. These types of objects are created with mnemonics (rather than directives) and have no associated events.

Mnemonics for creating graphical objects include: 'TEXT', 'FONT', 'PICTURE', 'ARC', 'PIE', 'CIRCLE', 'LINE', 'POLYGON' and 'RECTANGLE'. There is also a mnemonic for creating a graphical group, 'IMAGE'. These objects are output on the graphic plane via the PRINT directive. By default, PRINT outputs a line feed to the text plane unless the statement is terminated by a trailing comma. Therefore, it is recommended that the trailing comma be used when drawing graphical elements to prevent unwanted scrolling of the text plane.

For syntax details, see PRINT directive.