mdm.Forms


Methods
The following table lists the methods for the Forms class

Method Description Availability
Forms.addMask() Applies a transparency mask to the specified Form using the specified bitmap image at the speci...
Forms.callFunction() Executes the specified function in the specified Form.
Forms.close Closes the specified form.
Forms.constraints() Sets the maximum and minimum values that the specified form can be resized to.
Forms.dndDisable() Disables drag and drop functionality for the specified Form.
Forms.dndEnable() Enables drag and drop functionality for the specified Form.
Forms.getFormByName() IMPORTANT: getFormByName(...) method is the only possible programmatic way to get access to {md...
Forms.goToFrame() Sets the playhead of the specified Form to the specified frame.
Forms.goToLabel() Sets the playhead of the specified Form to the specified label.
Forms.hide() Hides the specified Form.
Forms.hideCaption() Hides the caption on the specified Form.
Forms.hideMask() Hides a previously applied mask.
Forms.hideStatusBar() Hides the specified Form's status bar.
Forms.maximize() Maximizes the specified Form.
Forms.minimize() Minimizes the specified Form.
Forms.restore() Restores the specified Form.
Forms.setFocus() Focuses the specified Form.
Forms.setStatusBarText() Sets the text of the status bar.
Forms.shake() Shakes the specified Form for the specified number of times.
Forms.show() Shows the specified Form.
Forms.showFullScreen() Sets or unsets the specified Form to fullscreen.
Forms.showInScreen() Shows the specified Form in specified display.
Forms.showMask() Applies a transparency mask to the specified Form based using the specified bitmap image.
Forms.showStatusBar() Creates/shows a status bar at the bottom the specified Form.
Forms.startDrag() Enables dragging of the specified Form using the left mouse button.
Forms.stopDrag() Disables dragging of the specified Form using the left mouse button.

Properties
The following table lists the properties for the Forms class

Method Description Availability
Forms.alpha Contains the alpha of the specified Form.
Forms.height Contains the height of current Form.
Forms.isCreated Contains a boolean indicating whether or not ...
Forms.name Returns the name of the specified Form.
Forms.showMaxBtn Sets whether or not the Form's maximize butto...
Forms.showMinBtn Sets whether or not the Form's minimize butto...
Forms.showSysBtn Sets whether or not the Form's system button ...
Forms.title Contains the Form's window title.
Forms.visible Contains a boolean inidicating whether or not...
Forms.width Contains the width of the current Form.
Forms.windowState Contains the window state of the specified Fo...
Forms.x Contains the X position of the current Form.
Forms.y Contains the Y position of the current Form.