BaseControl Class
The BaseControl class is an abstract control that you can subclass to create your own controls. For details, see "
Instances of the BaseControl class provide all of the base properties and methods available from the Window and Control superclasses and have the following capabilities.
-
Can be a parent control.
If this is not wanted, override the canControlHaveChildren method defined for controls, returning false (the default value is true).
-
Can have the focus.
If this is not wanted, set the canHaveFocus property to false (the default value is true).
-
Can have scroll bars and control of those scroll bars.
For details about the support of mouse wheel requests to scroll up, down, or across a base control, see "Window Class", earlier in this document.
-
Can be transparent.
-
Can use the clipControls property.
-
Definition of all standard events for controls.
You need only add a subclass to the BaseControl class for it to be automatically added to the Painter toolbar. You must write logic for each event controlling the subclass behavior.
The BaseControl class is not supported on forms defined as Web pages and is ignored when HTML is generated.
If you have mapping method logic on subclassed controls that rely on this logic when executing, you must protect that logic from situations where properties of subclassed controls are accessed or referenced by JADE processes such as the JADE Painter, JADE Translator utility, or the loading of schemas.
For a summary of the properties, methods, and events defined in the BaseControl class, see "BaseControl Properties", "BaseControl Methods", and "BaseControl Events", in the following subsections.