Show: Object Pascal C++
Display Preferences

Introduce Field dialog box

From Appmethod Topics
Jump to: navigation, search

Go Up to Refactor Menu

Refactoring > Introduce Field

You can open the Introduce Field dialog from the Refactoring main menu, or by using the Refactoring > Introduce Field command on an expression in the Object Pascal Code Editor.

Note: This feature is available for implementation projects only.
Note: This command is only available while working in the Object Pascal Code Editor.

Name

Enter a name for the new field.

Visibility

Choose the visibility for the new field. Using the combo box, choose from public, protected, private, internal or internal protected.

Initialize

Choose where to initialize the new field. Using the combo box, choose from Current method, Class constructor(s), or Field declaration.

Static

If applicable, check the Static field.

Replace all occurrences

If applicable, check this field to replace all occurrences of the expression.

Buttons

OK

Creates the new field and closes the dialog box.

Cancel

Discards all changes and closes the dialog box.

See Also

Personal tools
In other languages