Activate_View - AppDialog
Activates a view
Type: Procedure
Syntax
Procedure Activate_View
Call Example
Send Activate_View
Description
Activate_View activates a view (typically a dbView). If the view is minimized, this message will restore it.
See Activate for detailed explanations of the View and Modal Dialog activation process.
Sample
To simply activate a view, send Activate_View to the view object.
Send Activate_View of oCustomerView
Sample
You can augment this method like this:
Procedure Activate_View Returns Integer
Integer iRetVal
Forward Get msg_Activate_View to iRetVal
// do something
Procedure_Return iRetVal
End_Procedure
If you augment Activate_View and return a non-zero value, the view will not be started/restored.
Procedure Activate_View Returns Integer
Procedure_Return 1
End_Procedure
See Also