Class: dbModalPanel
Properties | Events | Methods | Index of Classes
Provides a modal dialog for selection lists and other DEOs.
Hierarchy
Library: Windows Application Class Library
Package: DFClient.pkg
Description
dbModalPanel is used to provide a modal dialog for selection lists (cDbCJGridPromptList) and other data entry objects (DEOs).
Sample
CD_Popup_Object Customer_sl is a dbModalPanel
Set Size to 138 297
Set Label to 'Customer List'
Object Customer_DD is a Customer_DataDictionary
End_Object
Set Main_DD to Customer_DD
Set Server to Customer_DD
Object oSelList is a cDbCJGridPromptList
:
End_Object
// other objects here
CD_End_Object
Syntax
Use DfClient.pkg
Object ObjectName is a dbModalPanel
set size to height width
set locate_mode to LocateMode
set label to title
:
: Create DEO objects (e.g., cDbCJGridPromptList)
:
End_Object
Of Special Note
This can be used anytime a DEO-based modal panel is required. Refer to ModalPanel for information about modal panels. Most often, dbModalPanels will be used to create popup selection lists. In such a case, the panel will contain a selection list (dbList) and several buttons.