You are here: AxTools > CodeSMART 2007 for VB6 > Documentation > User's Guide > Designer Tools > Bulk Controls Renamer
While browsing this page, why not start downloading the evaluation setup kit (direct download, no questions asked).

Bulk Controls Renamer

Usually it is considered good programming practice to define a standard in choosing control names. For example, you may want all the command-button control names to begin with "btn" and all the text-box control names with "txt". In order to do that you can use the CodeSMART Standards Manager in order to enforce the use of a such a naming scheme at control creation.

When you already have a certain number of controls with non-standard names on a designer, instead of manually rename each of them, you can use the CodeSMART Bulk Controls Renamer. This tool can help you choose the appropriate names and perform the desired changes according to the already defined control naming standards.

Note: The Bulk Controls Renamer generates the names based on existing Caption and Text properties for the respective controls.

To use the Bulk Controls Renamer:

  1. Open a form/designer in Design view.
  2. In the CodeSMART main menu, choose the Bulk Controls Renamer entry from the Designer Tools menu (quick toolbar and menu references are available).
    Bulk Controls Renamer
  3. Select the control types for which you want name changes to be applied.
  4. Specify if you want to convert spaces, dots or commas found within each control's Caption or Text property (whichever applies) to underscores.
  5. Set the other existing options if you find them necessary. You may specify for example how many words to use from the control's Caption or Text property should be considered and if each one should be convert to title case appearance.
  6. You can check out the present standards schemes by clicking the Standards button to get instant access to the Standards Manager.
  7. Press the Rename button in order to perform the changes.


See Also

Designer Tools Overview
Tab Order Designer
HotKey Designer
Change Name and Text Properties
Property Tips
Control Cloning Tools

Back To Top

Copyright © 2008 AxTools - CodeSMART 2007 for VB6 - Designer Tools