VS:DistDialog

From Vectorworks Developer
Revision as of 17:51, 27 April 2008 by Root (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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


Description

Function DistDialog displays a dialog box which requests the user to enter a distance value.

DistDialog automatically screens for valid numeric input.

FUNCTION DistDialog(
request  :STRING;
default  :STRING) : REAL;
def vs.DistDialog(request, default):
    return REAL

Parameters

request STRING Dialog user prompt string.
default STRING Default value for input field.

Example

VectorScript

Message(DistDialog('Enter a distance value:','0'));

Python

vs.Message(vs.DistDialog('Enter a distance value:','0'))

Version

Availability: from All Versions
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox