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 » Community » Newbie corner » EditDouble background color
Re: EditDouble background color [message #35540 is a reply to message #35538] Tue, 28 February 2012 09:46 Go to previous messageGo to previous message
idkfa46 is currently offline  idkfa46
Messages: 155
Registered: December 2011
Experienced Member
oh thanks! that's cool...

EditfieldColour::EditfieldColour()
{
	CtrlLayout(*this, "Window title");

	static EditField::Style sd = ef.StyleDefault();
	sd.paper = Red();
        sd.text = Blue();
        sd.focus = LtRed();
   	ef.SetStyle(sd);
}


I added sd.focus to color background but I really cant understand what sd.paper need for ?!
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How can I callback on staticimage click
Next Topic: Ctrl::Quit() and system shutdown
Goto Forum:
  


Current Time: Sun Aug 24 16:47:44 CEST 2025

Total time taken to generate the page: 0.04764 seconds