Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 1.03 KB

File metadata and controls

39 lines (31 loc) · 1.03 KB

GetLayoutDialogPosition

Description

This function will retrieve the screen location of the dialog window, in pixels.

This function can be useful for displaying a dialog in a position in which it was placed during prior use.

FUNCTION GetLayoutDialogPosition(
				dialogID   : LONGINT;
				VAR left   : INTEGER;
				VAR top    : INTEGER;
				VAR right  : INTEGER;
				VAR bottom : INTEGER): BOOLEAN;
def vs.GetLayoutDialogPosition(dialogID):
    return (BOOLEAN, left, top, right, bottom)

Parameters

Name Type Description
dialogID LONGINT Index of the dialog.
left INTEGER Location of left edge of dialog, in pixels.
top INTEGER Location of top of dialog, in pixels.
right INTEGER Location of right edge of dialog, in pixels.
bottom INTEGER Location of bottom edge of dialog, in pixels.

See Also

VS Functions: SetLayoutDialogPosition

Version

Availability: from VectorWorks11.0

Category