Prefix Wizard

Prefix Wizard

This wizard can rename components to correct prefix by some rules. Both Delphi/C++Builder are supported.

There are three rename mode in this wizard, including Auto, Prompt and Manual.

 

Rename Prompt

In default options, if you put a new component or modify name of a component, this wizard will check whether the new name accords with its rule. If not, a rename dialog will popup to let you rename the component.

If the rule of this component type was not defined, a prefix type dialog will popup as below:

You can enter the prefix of this type of component.

If a prefix rule for a type of component was defined, and a new or name-modified component's prefix does NOT accord with this rule, a rename dialog will popup to rename this component as below:

You can enter new component name here.

 

Rename Manually

If you click the 'Prefix Wizard...' menu item in 'CnPack' menu in IDE, a dialog will show as below:

If components requiring renaming exist after clicking 'OK', a prompt dialog will show as below.

This dialog shows the components that need renaming. You can choose one item and enter new name in top edit and press enter to confirm this modification.

Hint: You can use Up, Down, Home, PgUp, PgDown, End to move cursor.

If you do NOT want to modify a name of a component, you can uncheck its checkbox or modify new name to empty.

Sorting is supported by clicking column header.

 

Settings Dialog

Settings dialog of this wizard is as below:

Note: If the checkbox before a type was not selected, this type will be ignored when processing.

 

Links

Basic Operation

CnWizards Settings

About CnWizards

 


Copyrights 2001-2015 CnPack Team