| Function Name | dcl-Form-Center |
|---|---|
| Syntax | (dcl-Form-Center
<CONTROL>
{NewWidth [as Long]} {NewHeight [as
Long]}) |
| Return Type | Boolean (T if successful; otherwise NIL) |
| Applies To | Control Bar, File Dialog, Modal Dialog, Modeless Dialog, Palette |
此方法将对话框居中在显示屏上。 如果包含可选的NewWidth和NewHeight参数,那么在对中之前调整表单的大小。