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   |
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
|
|
|
|
|
|
Goto Forum:
Current Time: Wed May 14 16:50:15 CEST 2025
Total time taken to generate the page: 0.03192 seconds
|