Use the WFC Component Builder to add and delete custom properties from your controls. By using the WFC Component Builder, you can get a head start in defining properties for your controls.
To add a property using the WFC Component Builder
The Text editor opens and displays the source for your control.
Field | Value |
Name | checked |
Data Type | boolean |
Category | Behavior |
Description | Determines whether the control's check box is checked. |
Read-only Property | unchecked |
Declare Member Variable | unchecked |
The WFC Component Builder adds the getChecked
and setChecked
methods to the code and a property definition to the control's ClassInfo class.
The next step is to add code to the getChecked and setChecked methods.