Partager via


Item Properties Dialog Box

Allows you to customize the behavior of Component Gallery items.

This dialog appears when you click Properties on the shortcut menu of a selected item. When you select Advanced editing enabled in the Component Gallery Options Dialog Box, this dialog will also display the Type, Scripts, Views, and Comments tabs.

General Tab

Enables you to specify the following settings in this tab:

  • Name
    Displays the value in the Text field as the component label in the Component Gallery.
  • Description
    Optional information from the Desc field of this record in the selected table (specified in Node tab.ID). This item displays in the description pane of the Component Gallery.
  • Picture
    Value in the Folderpict field which specifies the path and file name of the graphic used to represent the item in the gallery.

Views Tab

Enables you to specify characteristics that control display of this item in the Component Gallery.

  • Views
    Specifies the name of the view and folder that contains the selected item in the following syntax:

    <viewName>=<folderName>
    
  • Keywords
    Displays the keywords by which the selected item can be found. You can add to this list by clicking the dialog button and selecting from the default list of gallery keywords.

Node Tab

A node is any selectable gallery item. Enables you to specify settings for the selected item. The following settings are available in this tab:

  • ID
    The name of the table plus the value in the ID field of the record of the selected item in its parent catalog.
  • Link
    If the selected item is a link, specifies the name of the source item.
  • Class Name
    Specifies the gallery class of the selected item
  • Class Library
    Specifies the path and file to the library containing the gallery class of the selected item.

Scripts Tab

Provides a place to specify events or properties that are global for all items. The following areas are available in this tab:

  • Script
    The value in the Script field of the record of this item in its parent catalog. The field contains any event script related to this item.
  • Properties
    The value in the Properties field which can contain value assignments to properties of the item.

Comments Tab

Enables specifying settings for the selected item. The following settings are available in this tab:

  • Comments
    The value in the Comment field of this record in the parent catalog (specified in Node tab.ID) which contains user comments about usage, characteristics, or anything.
  • User
    The value in the User field of this record in the parent catalog (specified in Node tab.ID) which contains user comments about usage, characteristics, or anything.

Item Tabs

Item tabs are generated by the Component Gallery and added to the Item Properties dialog box for most items you add to the gallery. Each Item tab provides a set of properties information that is specific to the particular item of that type. An Item Properties dialog box can include the Class Item tab, File Item tab, Form Item tab, Menu Item tab, Program Item tab, Project Item tab, and Report Item tab.

Class Item Tab

Enables you to specify the class and class library that contains the gallery item.

  • Class name
    Specifies the Class name.
  • Class library
    Specifies the name and path to the class library containing the gallery item.
  • Base class
    Specifies the class from which this gallery item is subclassed.
  • Sample file
    Specifies the name and path to a file containing an example of this gallery item.

File Item Tab

Enables you to specify the path and file name of the gallery item.

  • File name
    Specifies the path and file name.

Form Item Tab

Enables you to specify the path and file name of the gallery item .scx file.

  • Form name
    Specifies the path and form name.

Enables you to specify the path and file name of the gallery item .mnx file.

  • Menu name
    Specifies the path and form name.

Program Item Tab

Enables you to specify the path and file name of the gallery item file.

  • File name
    Specifies the path and file name.

Project Item Tab

Enables you to specify the path and file name of the gallery item .pjx file.

  • File name
    Specifies the path and file name of the source project.
  • Output name
    Specifies the path and file name of the output file.
  • Build action
    Specifies which build option (Rebuild Project, Build Application, Build Executable, or Build OLE DLL) is used when you build this project.
  • Rebuild all
    Enables you to rebuild all files or only those that have changed since the last build.
  • Show Errors
    Enables you to Build Option errors to an edit box after the compile is complete.
  • Run after build
    Enables you to run the application after the build is complete.

Report Item Tab

Enables you to specify the class and class library that contains the gallery item.

  • Report Name
    Specifies the path and file name of the source report.

See Also

Catalog Properties Dialog Box | Folder Properties Dialog Box | Build Options Dialog Box | Component Gallery Options Dialog Box