VS:SetEditReal
Jump to navigation
Jump to search
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
Description
Sets the numeric value of the specified REAL numeric edit field control.
Index | Field Value |
---|---|
1 | REAL value |
2 | Angular value |
3 | Dimension |
4 | X coordinate |
5 | Y coordinate |
PROCEDURE SetEditReal(
dialogID :LONGINT;
itemID :LONGINT;
editRealType :LONGINT;
value :REAL);
def vs.SetEditReal(dialogID, itemID, editRealType, value): return None
Parameters
dialogID LONGINT The index of the dialog layout containing the control. itemID LONGINT The index of the control item. editRealType LONGINT The type of REAL value displayed in the field. value REAL The new value for the field.
Remarks
Note that dimension reals do not accept negative numbers. If your field might contain negatives, and you still want the units mark to show, use x or y coordinate reals.
Version
Availability: from VectorWorks 9.0