Creating Fields with the C++ Class Explorer
Go Up to C++ Class Explorer Topics
This procedure illustrates how to create a field in a selected class or interface when using the C++ Class Explorer.
To create a field in the C++ Class Explorer:
- Do either of the following:
- Open the C++ Class Explorer as described here.
- If the C++ Class Explorer is already running, return to the C++ Class Explorer by clicking the C++ Class Explorer tab at the top of the window.
- In the Type List pane, select (click) the class or interface to which you want to add a field.
- Do either of the following:
- On the Add Field To <name> dialog box, enter a name for the field in the Name box.
- In the Type field, either enter the data type of the field you are adding, or select a data type from the dropdown list.
- In Visibility, select the access control specifier for the field you are adding. You can select from:
- Click Add. The field is added to the user declarations in the C++ header file for the unit containing the declaration of the class or interface.