class customControl

superclass(es) control
subclass(es) imageButton - upDownButton - grid - tabBook - htmlLink - raisedLabel - treeView - line
description The customControl class is the preferred base class for writing own controls.
see also canvas

tasks

The customControl class can be used for creating your own controls, the instances of the class already have a window on which can be drawn with a canvas instance.

Creating your own control consists of handling the correct callback events, see the window class for a description of them, and drawing on the control window with a canvas instance.

methods

create(Parent, X, Y, W, H, Output)

func Create a custom control window. The variables X and Y determine the position of the upperleft coordinate of the window. The W and H variables set the width and height of the control.
pre The variable Parent must refer to a window instance, the variables X, Y, W, H must contain integers.
post If the custom control was successfully created then true was assigned to the variable Output, else was false assigned.