jsx3.gui.DialogAPI


After MoveFires when the user releases the mouse button after moving this dialog across the screen.
After ResizeFires when the user releases the mouse button after resizing this dialog by dragging its lower-right corner.
Before MoveFires when the user depresses the mouse button on the caption bar of this dialog.
Before ResizeFires when the user depresses the mouse button on the lower-right corner of this dialog.
DestroyFires after this dialog is removed from the DOM.

Before Movejsxbeforemove

Fires when the user depresses the mouse button on the caption bar of this dialog. Canceling this event prevents this dialog from moving.
Cancelable: Evaluate to false to cancel event.

Context Variables

this {jsx3.gui.Dialog} - the object that publishes this event.
objEVENT {jsx3.gui.Event} - the browser event that triggers this event.

Return Fields

bCONSTRAINX {boolean} - set to true if only vertical movement allowed. For example: o = {bCONSTRAINX:true};
bCONSTRAINY {boolean} - set to true if only horizontal movement allowed. For example: o = {bCONSTRAINY:true};

After Movejsxaftermove

Fires when the user releases the mouse button after moving this dialog across the screen.

Context Variables

this {jsx3.gui.Dialog} - the object that publishes this event.
objEVENT {jsx3.gui.Event} - the browser event that triggers this event.

Before Resizejsxbeforeresize

Fires when the user depresses the mouse button on the lower-right corner of this dialog. Canceling this event prevents this window from resizing.
Cancelable: Evaluate to false to cancel event.

Context Variables

this {jsx3.gui.Dialog} - the object that publishes this event.
objEVENT {jsx3.gui.Event} - the browser event that triggers this event.

After Resizejsxafterresize

Fires when the user releases the mouse button after resizing this dialog by dragging its lower-right corner.

Context Variables

this {jsx3.gui.Dialog} - the object that publishes this event.
objEVENT {jsx3.gui.Event} - the browser event that triggers this event.

Destroyjsxdestroy

Fires after this dialog is removed from the DOM.

Context Variables

this {jsx3.gui.Dialog} - the object that publishes this event.
objPARENT {jsx3.app.Model} - the parent of this dialog before it is removed from the DOM.