VS:DialogEvent

From Vectorworks Developer
Jump to: navigation, search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Monitors user activity within a dialog; when an item is selected, the numeric identifier of the item is returned.
PROCEDURE DialogEvent(
VAR item  :INTEGER);
def vs.DialogEvent():
    return item

Parameters

item INTEGER Returns item selected in dialog event.

Remarks

Note: deprecated from VW 9: see RunLayoutDialog.

Example

VectorScript

REPEAT
DialogEvent(Item);

CASE Item OF
{- OK button case -}
1:Done:=TRUE;
{- Cancel button case -}
2:Stop:=TRUE;
OTHERWISE SysBeep;
END;
UNTIL Done;

Python


Version

Availability: from All Versions. Deprecated from VW 9+.
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox