U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » LineEdit, EditFields, DocEdit » Custom check for EditIntXxxx controls
Custom check for EditIntXxxx controls [message #37549] Tue, 16 October 2012 13:32 Go to previous message
Mindtraveller is currently offline  Mindtraveller
Messages: 917
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

Hello! Sorry if my question is noobish, but I failed to find how to achieve what I need - add "checking ability" to a number of different controls (like EditIntSpin). This means that when user edits the value, the control is coloured red if value is inappropriate (with some calculations involving program logic from different classes).

If I instanitate my own classes from EditIntSpin and etc. - how could I switch control to "red" mode? Is there any better ways to achieve it not creating addtional classes?

Thanks in advance!

[Updated on: Tue, 16 October 2012 13:33]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: BUG?: EditString Text rendering not stable with some Strings
Next Topic: need some expert advice to extend the LineEdit
Goto Forum:
  


Current Time: Sun Apr 26 02:00:35 GMT+2 2026

Total time taken to generate the page: 0.00513 seconds