Home » U++ Library support » LineEdit, EditFields, DocEdit » Set color in lineedit widget
Re: Set color in lineedit widget [message #9436 is a reply to message #9433] |
Tue, 08 May 2007 13:03 |
mrjt
Messages: 705 Registered: March 2007 Location: London
|
Contributor |
|
|
You can change the font using LineEdit::SetFont. Colors are set with LineEdit::SetColor. For example:
editctrl.SetFont(Font::ARIAL, 16);
editctrl.SetColor(INK_NORMAL, Blue());
The colours that can be set are defined in CtrlLib/TextEdit.h. It is not possible to set colours for individual lines.
James
[edit] added brace for code
[Updated on: Tue, 08 May 2007 13:18] by Moderator Report message to a moderator
|
|
|
|
|
Set color in lineedit widget
By: michael on Mon, 07 May 2007 22:46
|
|
|
Re: Set color in lineedit widget
By: mrjt on Tue, 08 May 2007 13:03
|
|
|
Re: Set color in lineedit widget
By: michael on Tue, 08 May 2007 13:18
|
|
|
Re: Set color in lineedit widget
|
|
|
Re: Set color in lineedit widget
By: michael on Tue, 08 May 2007 13:28
|
|
|
Re: Set color in lineedit widget
By: mrjt on Tue, 08 May 2007 16:19
|
|
|
Re: Set color in lineedit widget
By: michael on Tue, 08 May 2007 16:44
|
|
|
Re: Set color in lineedit widget
By: mrjt on Tue, 08 May 2007 16:50
|
|
|
Re: Set color in lineedit widget
By: mirek on Tue, 08 May 2007 19:17
|
|
|
Re: Set color in lineedit widget
|
|
|
Re: Set color in lineedit widget
By: mirek on Wed, 06 June 2007 22:48
|
|
|
Re: Set color in lineedit widget
By: michael on Tue, 08 May 2007 17:52
|
Goto Forum:
Current Time: Fri Apr 26 23:25:32 CEST 2024
Total time taken to generate the page: 0.05089 seconds
|