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)| 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. |
VS Functions: SetLayoutDialogPosition
Availability: from VectorWorks11.0