Add Field

From Appmethod Topics
Jump to: navigation, search

Go Up to View Menu

You can use the Add Field dialog box to add a field to a class or into the global scope on the Object Pascal Class Explorer.

Possible options are:

Item Description

Field name

Specifies the name of the field.

Add to class

Specifies the class to which you are adding the field.By default the currently selected class is prompted. You can, however, change this to any other available class selecting it from classes displayed in the drop-down list in the combo box.Select the @unitclass to add the field to the global scope.

Type

Specifies the type of the field. You can select one of the predefined types from the combo box or you can type in any other existing type.

Visibility

Specifies the visibility of the field being created. You can select one of the options specified in the Visibility group.

Reset

Resets the default options.


See Also