Managing the Toolbox
The Forms Designer includes a Toolbox of default controls. The default control types are divided by tabs. You can add custom tabs to the Toolbox and add custom controls to any of the tabs.
To add objects to the Toolbox
-
On the Tools menu, click Customize Toolbox.
-or-
-
Paste an item that has been copied to the Clipboard into the Toolbox.
-or-
-
Drag selected scraps of code or text from the Text editor into the Toolbox and then drag them into other files or windows where you want to use them.
Note Only components that extend com.ms.wfc.core.Component and have the ShowInToolbox attribute set (this is set to true by default) are displayed.
To organize your tools, you can:
-
Copy a Toolbox item from one tab to another tab by pressing CTRL and dragging the selected item to the new tab.
-
Move a Toolbox item from one tab to another tab by dragging the selected item to the new tab.
Note If you try to move a nonremovable item, dragging it to a new tab will copy it to the new tab instead of moving it.
You can add and customize Toolbox tabs by:
-
Clicking Add Tab on the context menu when you right-click the Toolbox to create tabs for customized groupings.
-
Rearranging items on a tab and rearranging the tabs by dragging them to the location you want.
-
Clicking the tab label and typing the new name description text of items or by using Rename Item on the context menu.
To view Toolbox objects as a list
-
Right-click the Toolbox to display the context menu, and then click List View. This displays the contents of the active tab in the Toolbox in a list format. This list contains the icons and descriptive information associated with the active Toolbox tab.
To view Toolbox objects as icons
-
Right-click the Toolbox to display the context menu, and then clear the List View check box. This displays the contents of the active tab in the Toolbox as icons only.
To delete objects from the Toolbox
Select the item to be deleted and press DELETE.
To recover a deleted control
-
Right-click the Toolbox to display the context menu, and then click Customize Toolbox.
-
In the Customize Toolbox dialog box, click the WFC Controls tab.
-
In the WFC Controls tab, click the check box for the control you want to add.