You can customize the Component Gallery by changing the default behavior of catalog, folder, and gallery items through the appropriate Properties dialogs.
To create a Component Gallery catalog
-
Select the Options button on the Component Gallery toolbar.
-
Click the Catalogs tab in the Component Gallery Options dialog box.
-
Click New and name the new catalog in the Open dialog.
-
Click OK.
-
The Component Gallery adds the catalog to the treeview so you can begin using it as you would any existing catalog.
To change a catalog or folder configuration
-
Right-click the catalog or folder.
-
From the shortcut menu, click Properties.
-
In the Catalog Properties Dialog Box or Folder Properties Dialog Box, select the tab containing the options you want to configure.
Gallery catalogs and folders, as displayed in the Component Gallery WindowВ Catalog pane, can represent URLs, folders, or files on your hard disk. You can view a Gallery folder as Web view or as an Explorer-level view, depending on the way you specify the name in the General tab of the Folder properties dialog.
Web Views
You can specify URLs or files as Gallery catalogs or as Gallery items. When you configure an item as a Gallery folder, the item automatically opens as a Web view in the Object (right) pane when you select it in the Catalog pane.
To configure a Gallery catalog or folder as a Web view
-
In the Folder Properties Dialog Box, select the Node tab.
-
In the Dynamic folder field, specify the Web page or file name as in the following examples:
http:\\www.microsoft.com\
file:\\c:\my documents\testpage.htm
file:\\c:\my documents\Wordfile.doc
When you highlight the Web view icon in the Catalog pane, the toolbar changes to include Web navigation buttons. The Web view will reflect the settings of your Windows Explorer.
Explorer-level Views
You can specify a directory as a Gallery folder or catalog that has characteristics of Windows Explorer.
To configure a Gallery catalog or folder as an Explorer-level view
-
In the Folder Properties Dialog Box, select the Node tab.
-
In the Dynamic folder field, specify a folder or file name and backslash (\) as the value as in the following examples:
C:\My Documents\
Note: This specification creates a view of actual files, unlike other Component Gallery views. In this view you can delete files from your disk. To create an Explorer-level view that maintains protection of displayed files, specify the target using a wildcard designation as in the following example: C:\My Documents\*.*
Avoid using wildcards to create dynamic folders when you can expect to find more than 512 items, unless you have a fast machine with a large amount of RAM.