FutureBasic Logo

<<    Index    >> FutureBasic

subclass   statement

tag, ...

subclass view tag, ...

view subclass tag, ...

Use the subclass statement to create a subclass of a window or widget. Subclassed windows or widgets trigger additional dialog events such as mouseDown, keyDown, ...

To subclass a nib object, change the object's class name in the Identity Inspector. For example, to subclass a nib textfield, set its class name to "TextFieldSC". Note: Class names are case-sensitive and are made up of the widget name plus "SC" suffix.