.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
DescriptionThis 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.
VAR left :INTEGER;
VAR top :INTEGER;
VAR right :INTEGER;
VAR bottom :INTEGER) : BOOLEAN;
def vs.GetLayoutDialogPosition(dialogID): return (BOOLEAN, left, top, right, bottom)
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.
Return Valuetrue - success - the location of the dialog window was retrieved.
false - failure - the location of the dialog window was not retrieved, likely because it does not currently exist, or the dialogID is invalid. The dialog window will exist anytime between the Setup message and OK/Cancel message.