NAB plug-in for MWT user guide June 21, 2006 |
Contents
![]() ![]() |
Chapter 3 Views | > 3.7 [NAB/MWT Attributes] View |
You can create a class when [Class definition] is set as the window type of an instance in an application window.
The following table lists how items for an application window are treated when the application window is defined as a class.
Item |
Treatment |
Application window instance name |
Treated as the class name of a new inherited class. |
Application window instance class |
Treated as the source of a new inherited class. |
Allocated instance in application window |
Accessed by a member variable of a new inherited class. |
Event procedure set for allocated instance in application window |
Defined as a member method of a new inherited class. |
A class that is used as the top window is usually treated as the base class for classes created with this tool.
The procedure to do this is explained below.
You can add a new property to a created class.
The following table lists the items that are specified to add a property.
Item |
Description |
Property name |
Specifies the property name retained in a program. |
Property type |
Specifies the property type retained in a program. |
Variable name |
Specifies the name of the member variable that retains property values. |
Default value |
Specifies the initial property values. |
Attribute |
Specifies property type information. This type information includes the following:
|
Builder title |
Specifies the title character string displayed for a property in the [NAB/MWT Properties] view. |
Select menu |
Specifies the menu that is displayed in the [NAB/MWT Properties] view and used to make selections. |
You can add a new trigger to a created class.
There are two kinds of triggers: a predefined trigger and a user-defined trigger.
Item |
Description |
Triggers |
Trigger predefined by the system |
User Trigger |
Trigger arbitrarily defined by the user |
Contents
![]() ![]() |