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 » U++ Library support » LineEdit, EditFields, DocEdit » filtering characters in the EditString [SOLVED...]
filtering characters in the EditString [SOLVED...] [message #2504] Sat, 15 April 2006 20:31 Go to previous message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

I miss a feature that I believe it is very useful (maybe it is already present and I was unable to recognize it).

The EditString widget permit to enter a string but sometimes could be useful to prevent the user from entering useseless or dangerous characters. For example if I ask in input a name I would like to prevent the insertion of characters like: ',' '.' ':' ... '1' '2' etc ...
I think could be useful a new method like:

FilterEdit( ",.';" );

where the characters inside the string "..." are not permitted.

Maybe could be useful even some more method to restrict the string input. For example one that convert automatically the entered string in upper case (lower case). One that accept only alphanumeric avoiding all other characters: []()',. etc...

Thank you,
Luigi

[Updated on: Mon, 17 April 2006 05:09] by Moderator

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Shift-Backspace should also delete in TextCtrls [FIXED][ADDED]
Next Topic: Which widget can show text with fixed font?
Goto Forum:
  


Current Time: Sat Apr 20 09:35:03 CEST 2024

Total time taken to generate the page: 2.93294 seconds