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

Home » U++ Library support » Look and Chameleon Technology » Chameleon-ized EditField
Chameleon-ized EditField [message #9190] Fri, 20 April 2007 13:30 Go to previous message
mrjt is currently offline  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?
  • Attachment: EditField.cpp
    (Size: 16.07KB, Downloaded 728 times)

[Updated on: Fri, 20 April 2007 13:31]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: OS X Aqua look and feel?
Next Topic: Native Icon Themeing
Goto Forum:
  


Current Time: Wed May 06 13:28:13 GMT+2 2026

Total time taken to generate the page: 0.00600 seconds