Home » U++ Library support » Look and Chameleon Technology » Chameleon-ized EditField
Chameleon-ized EditField [message #9190] |
Fri, 20 April 2007 13:30 |
mrjt
Messages: 705 Registered: March 2007 Location: London
|
Contributor |
|
|
I would like EditFields to change color when they have focus (as they do when they have invalid data). However, because so many controls are derived from EditField it is unpleasant to modify the Paint method.
Instead I have given the control a simple Chameleon style that functions identically to the original but exposes a Color that can be set when it has focus. My version is attatched.
Would it be possible to have something similar incorporated into the Upp::CtrlLib package so that I don't have to update the source myself?
[Updated on: Fri, 20 April 2007 13:31] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Fri Apr 26 06:40:36 CEST 2024
Total time taken to generate the page: 0.29522 seconds
|