Fluid Edge Themes

How do I display a negative number in a numeric field widget?

How do I display a negative number in a numeric field widget?

FAQsCategory: GUI DesignHow do I display a negative number in a numeric field widget?
Amulet Staff asked 6 years ago
Use a negative number for the "minFld" value parameter. Note that the range of maxFld-minFld has to be equal to or less than the range of the data structure (256 for a byte, 65536 for a word) Example: minFld = -128 maxFld = 127, a byte in this numeric field with value of 0 will display -128, and a value of 255 will display 127.