Jump to content

Enhacing TUniNumberEdit


Recommended Posts

1. Add a propertiy to get and set extended/double value:



  c : TUniNumberEdit;


  c.Value := 32/7;



Setting and getting values trough .Text property require always conversion (and regional problems).


2. Accept the dot (.) key as decimal separator. The dot key is near a numeric keypad, the comma is far.

Note: I tried capture keydown or keypress event to change the dot to comma and no luck.



  • Upvote 1
Link to comment
Share on other sites

  • 3 months later...
  • Create New...