BaseControl Class

The BaseControl class is an abstract control that you can subclass to create your own controls. For details, see "Creating Your Own Control Classes", in Chapter 5 of the JADE Developer’s Reference.

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.

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.