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 » Set color in lineedit widget
Re: Set color in lineedit widget [message #9443 is a reply to message #9439] Tue, 08 May 2007 16:19 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
Embarassed My humble apologies, the code segment above contained some glaring errors. The correct code is:
editctrl.SetFont(Font(Font::ARIAL, 14));
editctrl.SetColor(LineEdit::INK_NORMAL, SBlue());

Serves me right for not compiling it myself.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: LineEdit scroll to last line
Next Topic: EditIntCtrl callback?
Goto Forum:
  


Current Time: Sat Apr 20 05:37:55 CEST 2024

Total time taken to generate the page: 0.02797 seconds