Sets the numeric value of the specified REAL numeric edit field control.
{| class="wikitable_c" |+ Table - Field Types for EditReal Fields
| ! 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| Name | Type | Description |
|---|---|---|
| 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. |
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.
Availability: from VectorWorks 9.0
- Dialogs - Modern