Version 6.3.8 for Windows
 —  Dialog Component Reference  —

Canvas Control

This document covers the following topics:


Description

A canvas control provides a necessary background for the rectangle, line and graphic text controls. Once you have created a canvas control in the dialog, you can go on to create the rectangle, line and graphic text controls in it. The rectangle, line and graphic text controls are then displayed inside the borders of the canvas control; if they go beyond the canvas borders, they are clipped.

Top of page

Attributes for Canvas Control

Attribute Name Query Set/Modify In Attr. Window
BACKGROUND-COLOUR-NAME X X/X X
BACKGROUND-COLOUR-VALUE X X/X X
CLIENT-DATA X X/X  
CLIENT-HANDLE X X/X  
CLIENT-KEY X X/X  
CLIENT-VALUE X X/X  
CONTEXT-MENU X X/X X
DIL-TEXT X X/X X
ENABLED X X/X X
FIRST-CHILD X -/-  
FOLLOWS X X/X  
FOREGROUND-COLOUR-NAME X X/X X
FOREGROUND-COLOUR-VALUE X X/X X
HELP-ID X X/X X
LAST-CHILD X -/-  
OFFSET-X X X/X  
OFFSET-Y X X/X  
OWNER X X/-  
PARENT X X/-  
PREDECESSOR X -/-  
RECTANGLE-H X X/X X
RECTANGLE-W X X/X X
RECTANGLE-X X X/X X
RECTANGLE-Y X X/X X
STYLE X X/- X
SUCCESSOR X -/-  
SUPPRESS-CHANGE-EVENT X -/-  
SUPPRESS-CLICK-EVENT X X/X  
SUPPRESS-DBL-CLICK-EVENT X X/X  
TOOLTIP X X/X  
TYPE X X/-  
VISIBLE X X/X X

Top of page

Events

Click Event, Double-Click Event (all events may be suppressed).

Top of page