RAD Studio (Common)
ContentsIndex
PreviousUpNext
Change Parameters dialog box

RefactorChange Parameters  

You can open the Change Parameters dialog box on the Refactoring main menu, or by using the RefactoringChange Parameters command on the context menu for methods.

Note: This feature is available for implementation projects only.

Class 
A read-only field displaying the name of the class where the method resides.  
Method 
A read-only field displaying the selected member and its current parameters, if applicable.  
Select members 
A table displays all existing parameters and any new parameters that you add to the method. The order of the parameters in the table is the order of the parameters in the method. Use the Add and Remove buttons to add and remove parameters from the method. If adding a new parameter, you can edit its Type, Name, and Default value. If editing an existing parameter, you can edit its Name. You can rearrange the order of the parameters using the Move Up and Move Down buttons.  
Preview Usages 
By default, Preview Usages is checked. If this option is checked when you click OK, the Refactoring window opens allowing you to review the refactoring before committing to it. If this option is cleared when you click OK, the Refactoring window opens with the change parameters operation completed.  
 
Add 
Adds a new parameter to the method.  
Remove 
Removes the currently-selected parameter from the method.  
Move Up 
Moves the currently-selected parameter up one row.  
Move Down 
Moves the currently-selected parameter down one row.  
OK 
Opens the Refactoring window.  
Cancel 
Discards all changes and closes the dialog box.  
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!