Progress
AppBuilder
Developer’s Guide
Adding a SmartObject to a Palette Button Pop-up Menu
Use this type of entry to add an object to the Object Palette’s pop-up menu for an object type. The new object you define also appears in the Object Palette’s submenu for the object type. This type of entry also allows you to select an object without first using the Choose dialog box. Before you create this type of entry, make sure that you have created the Object type (see the "Adding a Button to the Objects Palette" section):
*smartobject-type
Specifies the name of an existing object type.
name
Specifies the name of the object as it appears on the Object Palette’s menus.
USE master-file
Specifies the name of the SmartObject master file to instantiate when name is selected from the Object Palette:
DIRECTORY-LIST list
Specifies the directories that appear in the Choose dialog box for smartobject-type.
FILTER filter
Specifies a comma-separated list of file search masks that appears in the Choose dialog box for the current directory.
TITLE title
Specifies the title for the Choose dialog box for smartobject-type.
The sample entries in Figure C–2 add SmartObject masters from
src/template/smart.cst
.Figure C–2: Sample Entries for Adding a SmartObject Master
![]()
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |