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 » 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 578 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: Fri Apr 26 06:40:36 CEST 2024

Total time taken to generate the page: 0.29522 seconds