Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Convert: Format, Scan and Filter...
Convert: Format, Scan and Filter... [message #50727] Mon, 10 December 2018 04:13
ptkacz is currently offline  ptkacz
Messages: 84
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
Previous Topic: Issue compiling U++ version 12603 on OpenSuse Leap 15
Next Topic: Delete modeless TopWindow based object created with new
Goto Forum:
  


Current Time: Tue Feb 19 03:21:22 CET 2019

Total time taken to generate the page: 0.01479 seconds