ObjectDCL Banner

ObjectDCL Functions

Dialog Related

The following functions are common for Dialogs:

Function Description
Form_Center This method will center dialogs to the center of the screen.
Form_Close This method will close the indicated dialog.
Form_CloseAll This method will close all dialogs matching the requested type.
Form_Enable This method will disable or enable a dialog box, or config tab (but not the dockable form) to be enabled or disabled.
Form_GetControlArea This method returns a list indicating the width and height of the dialog box's client area.  This would be the area of the dialog box excluding the title bar and border of the dialog box.
Form_GetHwnd This method will return the Hwnd value of the dialog box. This may be required by an ActiveX control.
Form_GetRectangle This method returns a list indicating the left, top, width and height values of the dialog box.
Form_GetTitleBarText This method will retrieve the title bar text or configuration tab text.
Form_Hide This method will hide a modeless dialog box.
Form_IsActive This method will return whether a dialog is active or not.
Form_IsEnabled This method will return whether a dialog is enabled or not.
Form_IsFloating This method will return whether the dockable form is anchored to AutoCAD® main window or not.
Form_Resize This method will resize a dialog box.
Form_SetDialogMinMaxSizes This method sets the minimum and maximum extents allowed for a specified dialog box.
Form_SetTitleBarText This method will change the title bar text of the indicated dialog box.
Form_Show This method displays a dialog box that has already been loaded, to the screen.

Alphabetical List

The following properties are ordered alphabetically: