O w n e r
Let's Shared

Senin, 16 Maret 2009

Using the Toolbox

The Toolbox is a sliding tree control that behaves much like Windows Explorer, but without grid or connection lines. Multiple segments of the Toolbox (called "tabs") can be expanded simultaneously, and the entire tree scrolls inside the Toolbox window. To expand any tab of the Toolbox, click the plus (+) sign next to its name. To collapse an expanded tab, click the minus (-) sign next to its name.
The Toolbox displays icons for items that you can add to projects. Each time you return to an editor or designer, the Toolbox automatically scrolls to the tab and item most recently selected. As you shift focus to a different editor or designer or to a different project, the current selection in the Toolbox shifts with you.

Manage the Toolbox Window

To open the Toolbox

On the View menu, select Toolbox.
For the following procedures, make sure that the Toolbox has focus.
To conceal the Toolbox
On the Window menu, select Hide.
To reopen the Toolbox, select Toolbox from the View menu.

To make the Toolbox close automatically
On the Window menu, select Auto Hide.
To make the Toolbox remain open
On the Window menu, clear Auto Hide.
To move the Toolbox to a different location
- On the Window menu, clear Auto Hide, and then select Floating.
- Drag the Toolbox to the desired location.

To dock the Toolbox
- Open the Toolbox.
- On the Window menu, clear Auto Hide, then select Dockable.
- When docking arrows appear, select the arrow that points toward the edge of the parent frame
where you want to attach the Toolbox.

To display the Toolbox as a tabbed editing window
- Open the Toolbox.
- On the Window menu, clear Auto Hide, then select Tabbed Document.

To restore the Toolbox from a tabbed document state to a docked window state, right-click on the window tab and select Dockable from its shortcut menu.
To restore all default tabs to the Toolbox, with their default icons
Right-click on the Toolbox and choose Reset Toolbox from its shortcut menu.

To expand a Toolbox tab
Select the plus (+) sign next to the name of the closed Toolbox tab.

To conceal a Toolbox tab
Select the minus (-) sign next to the name of the expanded Toolbox tab.

To change the position of a Toolbox tab
Right-click on the name of the tab and choose Move Down or Move Up from its shortcut menu. 0r Drag the tab to the desired position in the Toolbox, and release the mouse.

To rename a Toolbox tab
- In the Toolbox, right-click the desired tab, then choose Rename Tab from its shortcut menu.
- In the text box at the top of the tab, type a new name for the tab and press ENTER.

To add a custom Toolbox tab
- Right-click on the Toolbox and choose Add Tab from its shortcut menu.

A new blank tab is added to the Toolbox.
- In the text box at the top of the new tab, type a name for the tab and press ENTER.
The new tab appears at the bottom of the Toolbox. You can then position the new tab and add items to it.
Tip:

Use custom tabs to store icons for preconfigured controls.
To remove a custom Toolbox tab
1. Drag any icons you are still using to other Toolbox tabs.
2. Right-click the Toolbox tab you no longer want, and choose Delete Tab.
If any items are left on the tab, a message box informs you that those items will be deleted.
3. Select OK to delete the selected tab from the Toolbox.

To display all available Toolbox tabs, regardless of context
Right-click on the Toolbox and choose Show All from its shortcut menu.

After running this command, you will need to recreate any custom tabs, and add icons for the desired items to them.

Toolbox Item Procedures

To insert a Toolbox item at the selected location on the active designer
Double-click the desired item on the expanded Toolbox tab.

To store text or code in the Toolbox
1. In the editor or designer, write the text or reconfigure the control to be reused.
2. Select the desired text or code, and drag the selection onto the desired Toolbox tab.
A line marks the position on the expanded tab where the new Toolbox icon will be created.
3. Rename the new Toolbox icon as you wish.

For example, you might insert a standard Button control, define its style as you prefer, and then store this preconfigured code as a custom button template on the desired Toolbox tab.
To rename an item on a Toolbox tab
1. In the Toolbox, right-click the desired item and choose Rename Item.
2. In the text box, type a new name for the item, and then press ENTER.
To sort the items on a Toolbox tab alphabetically
In the Toolbox, right-click the desired tab, and then choose Sort Items Alphabetically.

Items that cannot be moved are copied instead.
To copy an item from one Toolbox tab to another
Press the CTRL key and drag the item from the expanded Toolbox tab onto another tab.

Copy the item and Paste it onto the name of the desired tab.

To add and remove items from the Toolbox
1. On the Tools menu, click Choose Toolbox Items.
The Choose Toolbox Items dialog box is displayed.
2. In the Choose Toolbox Items dialog box, click from tab to tab to browse through available categories of Toolbox items.
3. If you do not see an item that you need, click Browse to add items to the Choose Toolbox Items dialog box.
4. Select any items you wish to add, and deselect those you wish to remove.
5. Click OK.

Icons for items selected in Choose Toolbox Items are now available in the Toolbox. You can drag any items added to the current tab to other tabs. Icons for items deselected in Choose Toolbox Items will no longer appear in the Toolbox.

Comments :

0 komentar to “Using the Toolbox”

Posting Komentar


 

Copyright © 2009 by : ameykurdt

Site Meter yang nyasar sejak Rabu, 27 Mei 09