Home » Community » Newbie corner » Convert: Format, Scan and Filter...
Convert: Format, Scan and Filter... [message #50727] |
Mon, 10 December 2018 04:13 |
ptkacz
Messages: 89 Registered: March 2017
|
Member |
|
|
Hi Guys,
I'm playing around at building an Edit widget. I started by playing with and basing my implementation on EditString. I've successfully implemented the use of Filter. From what I understand, Format takes in value and converts it to a textual representation, and Scan the opposite (text -> value), yes?
When a real number value is entered into a DoubleEdit field and not correctly formatted, the text field turns red, indicating that a formatting error has occurred. What is the mechanism that tells and edit field such as DoubleEdit, that the input a user has provided is incorrect, and thus in turn, the edit field highlights red?
Peter
|
|
|
Goto Forum:
Current Time: Tue Apr 29 22:16:09 CEST 2025
Total time taken to generate the page: 0.04734 seconds
|