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 » 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: Sat Apr 27 18:27:59 CEST 2024

Total time taken to generate the page: 0.03759 seconds