
This method will center dialogs to the center of the screen.
Returns the following according to the situation:
The recommended convention is passing the control identifier directly:
Copy Code |
|---|
(Odcl_Form_Center MyDialogReference [as Reference] [Optional] Width [as Integer] [Optional] Height [as Integer]) |
An alternative convention is to identify the control by providing the project file, the dialog name and the control name:
Copy Code |
|---|
(Odcl_Form_Center ProjectFile [as String] DialogName [as String] ControlName [as String] [Optional] Width [as Integer] [Optional] Height [as Integer]) |
Applies only to modal and modeless dialogs.
Copy Code |
|---|
; Center the dialog (Odcl_Form_Center MyProject_MyForm) |