Window.show

Syntax

window.show( anchor_control, position_mode );
OR
window.showModal( anchor_control, position_mode );

Parameters

Name Type Description
anchor Object
Unknown macro: { anchor}
position_mode String "bottom" (default) or "top" or "left" or "right". Defines the side of the anchor the window will be positioned at. Applies (and makes sense) when the anchor is form control or rectangle object.

Note: There is a difference in the way of how the window is positioned with the different anchor type:

  • form control - is positioned according to the position_mode with offset of 5px from the side of the control
  • rectangle object - the same as form control but with no offset
  • point object - position_mode is ignored, the left top corner of the window is positioned exactly at the given coordinates

Returns

Returns nothing.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.