RAD Studio (Common)
ContentsIndex
PreviousUpNext
Extract Method dialog box

Refactor Extract Method  

You can open the Extract Method dialog box from the Refactoring main menu, or by using the RefactoringExtract Method command on several complete statements in the RAD Studio Editor.

Note: This feature is available for implementation projects.

Note 
This command is only available while working in the RAD Studio Editor.  
Name 
Enter the name of the method to be created from the selected fragment of code.  
Visibility 
Choose a visibility modifier from the drop-down list. Your choices are: public, protected, private, internal, internal protected.  
Header comment 
Enter a code comment describing the new method.  
Static 
Check the checkbox to set the Static field, if necessary.  
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!