| Form Design Wizard |
Form Design Wizard
This wizard is used to set align and size of compnents. Both Delphi/C++Builder are supported. It's enabled when current window is Form designer.
Some functions are only enabled when one or more components are selected. And some process for properties comes from those in the first component in selection. So please note the selection order of components.
Menu items of this wizard is as below:

Align Left Edges: Align selected components' left edges to first selected component. It's enabled when selected count >= 2.
Align Right Edges: Align selected components' right edges to first selected component. It's enabled when selected count >= 2.
Align Top Edges: Align selected components' top edges to first selected component. It's enabled when selected count >= 2.
Align Bottom Edges: Align selected components' bottom edges to first selected component. It's enabled when selected count >= 2.
Align Horizontal Centers: Align selected components' horizontal center to first selected component. It's enabled when selected count >= 2.
Align Vertical Centers: Align selected components' vertical centers to first selected component. It's enabled when selected count >= 2.
Space Equally Horizontally: Space selected components equally horizontally. It's enabled when selected count >= 3.
Space Equally Horizontally by...: Space selected components equally horizontally by a given value. It's enabled when selected count >= 2.
Increase Horizontal Space: Increase horizontal space of selected components. It's enabled when selected count >= 2.
Decrease Horizontal Space: Decrease horizontal space of selected components. It's enabled when selected count >= 2.
Removed Horizontal Space: Remove horizontal space of selected components. It's enabled when selected count >= 2.
Space Equally Vertically: Space selected components equally vertically. It's enabled when selected count >= 3.
Space Equally Vertically by...: Space selected components equally vertically by a given value. It's enabled when selected count >= 2.
Increase Vertical Space: Increase vertical space of selected components. It's enabled when selected count >= 2.
Decrease Vertical Space: Decrease vertical space of selected components. It's enabled when selected count >= 2.
Removed Vertical Space: Remove vertical space of selected components. It's enabled when selected count >= 2.
Increase Width: Increase width of selected component(s).
Decrease Width: Decrease width of selected component(s).
Increase Height: Increase height of selected component(s).
Decrease Height: Decrease height of selected component(s).
Grow Width to Largest: Set width of selected components to the largest one. It's enabled when selected count >= 2.
Shrink Width to Smallest: Set width of selected components to the smallest one. It's enabled when selected count >= 2.
Make Same Width: Set width of selected components to the width of first selected component. It's enabled when selected count >= 2.
Grow Height to Largest: Set height of selected components to the largest one. It's enabled when selected count >= 2.
Shrink Height to Smallest: Set height of selected components to the smallest one. It's enabled when selected count >= 2.
Make Same Height: Set height of selected components to the height of first selected component. It's enabled when selected count >= 2.
Make Same Size: Set size of selected components to the size of first selected component. It's enabled when selected count >= 2.
Center Horizontally: Put selected component(s) to horizntal center of parent.
Center Vertically: Put selected component(s) to vertical center of parent.
Bring to Front: Bring selected component(s) to front.
Send to Back: Send selected component(s) to back.
Snap to Grid: Whether snap to grid when moving or sizing components in form designer.
Designer Guideline: Whether show and snap to designer guideline when moving or sizing components in form designer. Only exists in BDS 2006.
Align to Grid: Set align of selected component to snap to grid.
Size to Grid: Set size of selected component to snap to grid.
Lock Controls: Whether allow moving and sizing components by mouse in form designer.
Select Form: Select current form designer.
Copy Component's Name: Copy selected component name to clipboard and switch to source editor for pasting. If more than one components are selected, multi-line names will be copied. If Shift was pressed, No switching to source will be performed.
Copy Component's Class Name: Copy selected component class name to clipboard and switch to source editor for pasting. If more than one components are selected, multi-line names will be copied. If Shift was pressed, No switching to source will be performed.
Hide Non-visual: Hide/Show all non-visual components in current form. This setting does NOT affect those added later.
Arrange Non-visual: Arrange non-visual components in current form. See below.
Locate Components: Show a search dialog to locate components in designer quickly.
Convert to Code: Convert Selected Components to Code. See below.
Change Component Class: Change Selected Components' Class. To Run this function, you should select component(s) in designer first. If more than one components are selected, they must be the same type. And you can enter new class name and press OK. New Components will be created to replace old ones, keeping old properties and events from old ones.
Float Toolbar Options: Set the option of float toolbar.
Arrange Non-visual
This function is used to arrange selected non-visual components in current form designer. When no selected, all non-visual components in current form designer will be arranged.

By Row: Arrange non-visual components by row first. You can specify how many components in a row.
By Col: Arrange non-visual components by column first. You can specify how many components in a column.
Spaces: Edge space of non-visual components between rows or columns in pixels.
After Aligned, Place to: Move arranged non-visual components to some place, such as 'Top Left', 'Top Bottom', 'Bottom Left', 'Bottom Right' and 'Center'.
Space to Form Edge: The space from nearest non-visual component to form edge after arranging.
Sort by Classname: If this was selected, non-visual components will be sort by their classname before arranging.
Locate Components
This function is used to search and locate components in designer quickly. It can list all the names, classnames and Caption or Text property of components and search in them. The dialog is shown as below:

Locate and Select Components: Locate and select components in IDE designer.
Copy Component Name: Copy selected components name to clipboard.
Select All Components: Select all components in the list.
Cancel Selection: Select none in the list.
Inverse Selection: Inverse selection in the list.
Match Start: Match the component name, classname and caption/text head when searching.
Match All Parts : Match any position of component name, classname and caption/text when searching.
Run Component Selector: Run Component Selector Wizard to select components by more flexible way.
Font: Change font of list.
Help: Show this help.
Exit: Close this window and Exit.
Compare Properties
This tool is used to compare properties of selected 2 components in current designer. Related menu items are also added to designer context menu. When this tool run, the main window is as below with menu, toolbar and properties list. The different value for same properties are shown in red background. If one property does not exist, it shows a blank line.

New Compare: Create a new, empty compare window. You can select components to compare.
Refresh: Reload and re-compare properties from components in Designer.
Options: Open Settings dialog.

Only Check Property Names: This option determines how to know two properties can be treated comparable. If checked, only needs same property names, otherwise needs same property names and types.
Ignore Properties when Assign All: You can specify which property names to ignore when assign all. Write one property name on each line.
Show Context Menu in Designer: If checked, when right click selected components in designer, the "Select" or "Compare" menu items will show.
Change Font: Change the property list font.
Reset: Reset the property list font to default value.
Exit: Close this window.
Select Left Component: Use "Locate Components" to select a component in current designer for left to compare.
Select Right Component: Use "Locate Components" to select a component in current designer for right to compare.
Run Component Selector for Left: Use "Component Selector" to select a component in current designer for left to compare.
Run Component Selector for Right: Use "Component Selector" to select a component in current designer for right to compare.
To Left: Assign selected property value of right component to the one of left component and update in designer.
To Right: Assign selected property value of left component to the one of right component and update in designer.
All to Left: Assign all property values of right component to left component and update in designer. Some properties will be ignored according to settings. If a right property does not exists in left, just ignore.
All to Right: Assign all property values of left component to right component and update in designer. Some properties will be ignored according to settings. If a left property does not exists in right, just ignore.
Previous Different: Search and select the previous different property in list.
Next Different: Search and select the next different property in list.
Only Show Different: If checked, only different properties are visible in list, otherwise show all.
Show Events: If checked, Events are visible in list, otherwise hidden.
Help: Show this Help.
Convert to Code
This function can be used to convert selected component(s) to creation code. Delphi and C++Builder are supported. The window is shown as below. The code is divided into two part: var declaration and initialization code.

Refresh: Convert selected components in current form to code. If no component selected, the whole form will be converted. Converted count will be displayed at status bar once completed.
Clear: Clear var declaration and initialization code area.
Copy Var Declaration: Copy var declaration code to clipboard. No hint after Copy.
Copy Initialization CodeCopy initialization code to clipboard. No hint after copy.
Copy the Whole Procedure: Copy the whole creating procedure to clipboard, include var and initialization. It will show the Procedure name after copy.
Shortcut Settings
You can set the shortcuts of menu items in CnWizards Settings as below:

You can set the shortcut of a menu item when select it.
Links