Popup_Modal - FloatingPanel

(Legacy Message) Activates a modal dialog

Type: Procedure

Return Data Type: Integer

Parameters: None

Return Value

Returns non-zero if popup failed (this value is normally not used)


Syntax
Procedure Popup_Modal Returns Integer

Call: Get msg_Popup_Modal to IntegerVariable


Description

Legacy Message

Popup_Modal is a legacy message that calls Popup and is replaced by Popup. See Activate for detailed explanations of the View and Modal Dialog activation process.

Popup_Modal in the AppDialog class is not a legacy message and can be used to activate dbViews modally.






You can use Popup_Modal in the AppDialog class for popping up modal views (View or dbView) is the only use of Popup_Modal.

All other uses of Popup_Modal are legacy uses (see below).

The Popup_Modal message activates this object modally-that is, confining the mouse and the cursor to it and prohibiting interaction with other objects until this one is deactivated. This message sets the Modal_State property True until this object is deactivated, at which time it is restored to false. This message has no effect on an already-active object.

Send Popup_Modal to oCustomerList



You can use this method to popup the dialog. If the dialog is created in deferred mode it will create the dialog first and then returns the handle.

Sample

RowId riCustomer
:
Get Popup_Handle of oMySpecialDialog to hoDialog           
Get CurrentRowId of oCustomer_DD to riCustomer
Send ShowDialog of hoDialog riCustomer