FutureBasic Logo

<<    Index    >> FutureBasic

subclass   statement



Syntax
[1]
subclass
view
tag, ...

[2]
subclass view tag, ...

[3]
view subclass tag, ...

Description
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.