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 #9445 is a reply to message #9444] Tue, 08 May 2007 16:50 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
Use LineEdit::Insert to add lines. For instance:
editctrl.Insert(editctrl.GetLength(), "Some text\nSome More text\n")

Appends two lines to the end of the text.

There are two ways of find functions like these yourself that are much quicker than asking here or even using the manual:
- Typing the name of the class or an instantialion of it followed by :: or . (ie LineEdit::) brings up the autocomplete box with all the member functions for that class and allows filtering as you type.
- Query(Ctrl-Q) allows you to find functions, classes and enums very quickly. For instance, querying 'Blue' takes you straight to all the color definitions. Right clicking on a function gives the option to goto the definition/declaration.

James

[Updated on: Tue, 08 May 2007 16:59]

Report message to a moderator

 
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 Apr 26 20:10:11 CEST 2024

Total time taken to generate the page: 0.02880 seconds