U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » LineEdit, EditFields, DocEdit » Set color in lineedit widget
Re: Set color in lineedit widget [message #9437 is a reply to message #9433] Tue, 08 May 2007 13:18 Go to previous messageGo to previous message
michael is currently offline  michael
Messages: 153
Registered: May 2007
Location: Germany
Experienced Member
Hi James,

when i use this

editor.SetFont(Font::ARIAL, 16);
editor.SetColor(INK_NORMALž Blue());


i get these error:

G:\Entwicklung\UPP\prohibisZA\main.cpp: In constructor `prohibisZA::prohibisZA()':
G:\Entwicklung\UPP\prohibisZA\main.cpp:29: error: no matching function for call to `Upp::LineEdit::SetFont(Upp::Font::<anonymous enum>, in
	t)'
C:/Programme/UltimatePP/uppsrc/CtrlLib/TextEdit.h:311: note: candidates are: Upp::LineEdit& Upp::LineEdit::SetFont(Upp::Font)
G:\Entwicklung\UPP\prohibisZA\main.cpp:30: error: stray '\184' in program
G:\Entwicklung\UPP\prohibisZA\main.cpp:30: error: `INK_NORMAL' undeclared (first use this function)
G:\Entwicklung\UPP\prohibisZA\main.cpp:30: error: (Each undeclared identifier is reported only once for each function it appears in.)
prohibisZA: 1 file(s) built in (0:02.34), 2344 msecs / file, duration = 2375 msecs, parallelization 0%


Do i have to include somethings special to use font or color?

Michael
 
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: Fri Jul 17 05:52:25 GMT+2 2026

Total time taken to generate the page: 0.00684 seconds