Home » U++ Library support » LineEdit, EditFields, DocEdit » What is the best way to create a mask in a editfield.
Re: What is the best way to create a mask in a editfield. [message #12949 is a reply to message #12948] |
Fri, 30 November 2007 10:13   |
|
This is not possible yet. We were thinking about extending Convert interface (each edit uses it) that would allow to do that. I don't know when it'll be done as this change would cause backward compatibility problems.
From the other side upp prefers allowing the user to input any string - (keyboard filtered is acceptable) and to display immediate error (edit changes color of the background to red) when edit's data is not correct (you just pass ErrorValue to edit in your callback) and display detailed error message when dialog OK button is pressed. Just override bool Accept() of your control to display your own messages.
|
|
|
Goto Forum:
Current Time: Wed Apr 30 16:44:25 CEST 2025
Total time taken to generate the page: 0.00896 seconds
|