DoCenterMdiDialog - MdiDialog
Locates an MDI Dialog in the center of the MDI client area
Type: Procedure
Syntax
Procedure DoCenterMdiDialog
Call Example
Send DoCenterMdiDialog
Description
The DoCenterMdiDialog message locates an MDI Dialog in the center of the MDI client area. Its subclasses View, dbView and ReportView inherit this behavior.
This can be sent at any time. An ideal place to send this is inside the Activate method, following the 'forward send' statement:
Procedure Activate
Forward Send Activate
Send DoCenterMdiDialog
End_Procedure
The Locate_Mode property is not intended for use with MDI dialogs (View or dbView objects). While the class understands the message, it will not do anything useful. Use DoCenterMdiDialog instead.