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 » Draw, Display, Images, Bitmaps, Icons » how to paint a LineEdit? how to create a small image?
Re: how to paint a LineEdit? how to create a small image? [message #10391 is a reply to message #10385] Thu, 05 July 2007 12:50 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
To set one EditField color:
	
	EditField::Style edit_field_style = EditField::StyleDefault();
	edit_field_style.paper = Yellow();
        myedit.SetStyle(edit_field_style);


To set ALL edit field styles:
	EditField::Style edit_field_style = EditField::StyleDefault();
	edit_field_style.paper = Yellow();
	EditField::StyleDefault().Write() = edit_field_style;


Changing the color of the popup menu can be (mostly) done with SetDisplay.

James.

[Updated on: Thu, 05 July 2007 12:50]

Report message to a moderator

 
Read Message
Read Message
Read Message icon9.gif
Read Message
Read Message
Read Message
Read Message icon14.gif
Previous Topic: BSD problems with Draw
Next Topic: How to Draw into an existing image(buffer) ?
Goto Forum:
  


Current Time: Sun Jun 02 08:18:18 CEST 2024

Total time taken to generate the page: 0.01982 seconds