Class: AppDialog
as of 15.0, moved some of dbViews features up to this level. Load/Save Environment showing view name
Class Hierarchy:
DFBaseDialog

Container3d


MdiDialog



AppDialogDirect Known Subclasses:
View, Class Definition
Properties
Boolean
pbAutoActivate
set true to auto-activate the view. This does not work if the object is deferred.
this is a design time property which is applied during end_construct_object. This should
Boolean
pbDisableSaveEnvironment
This can be used to stop this view from loading and saving its environment.
tWinWindowPlacement
pWindowPlacement
used to keep track of window placment when deactivated object is reactivated.
Functions and Procedures
Integer
Activate_View()
Activates the view. If view is minimized it restores it first
works with both popup_state T and F
Integer
Add_Focus(Integer hoBase)
augmented to load last view position

Construct_Object()
Integer
Deactivate(Integer eDeactivateScope)
This is augmented to send save_environment during a view close (was in close_panel)
we set view_mode to normal if it is zoomed. This is needed to make the MDI stuff work
properly with the save/load environment. The Saved environment data will make it zoom if needed.

Destroy_Object()

End_Construct_Object()
Integer
Entering_Scope()
Integer
Exiting_Scope(Integer whereto)

Load_Environment()
Load the window placement information for this from the application object

Notify_Exit_Application()
Augmented to save view position

Save_Environment()
Save the window placement information for this to the application object

Show_view_Name(String sHelp)
Integer
Verify_Exit_Application()
Augment exit_application_check to see if view is changed. If changed,
display exit message as required
Integer
View_Changed()
References (1):