VS:GetEditInteger

From Vectorworks Developer
Jump to: navigation, search

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


Description

Returns the numeric value from the specified INTEGER numeric edit field control.
FUNCTION GetEditInteger(
dialogID  :LONGINT;
itemID  :LONGINT;
VAR value  :LONGINT) : BOOLEAN;
def vs.GetEditInteger(dialogID, itemID):
    return (BOOLEAN, value)

Parameters

dialogID LONGINT The index of the dialog layout containing the control.
itemID LONGINT The index of the control item.
value LONGINT The value contained in the field.

Return Value

A BOOLEAN value indicating the success of the operation.

Remarks

does math, returns false for any error in conversion

Version

Availability: from VectorWorks9.0
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox