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 » Append separate Strings to a DocEdit[SOLVED]
Re: Append separate Strings to a DocEdit [message #3407 is a reply to message #3404] Tue, 23 May 2006 23:01 Go to previous messageGo to previous message
forlano is currently offline  forlano
Messages: 1207
Registered: March 2006
Location: Italy
Senior Contributor
Justin wrote on Tue, 23 May 2006 22:46

How can I add separate strings to an existing DocEdit? I am basically trying to create a section in my application where comments from a database can be appended through an array that would append these line by line. Thanks in advance

Justin


I typed in my application

DocEdit editor;

Then in a new line after typing "editor." appeared the list of all methods of the DocEdit class. There I saw the method Set() that put the file considered as string in editor and Get() that retrieve the document as a string. When you have your document as a string you can do everything you like treating it as string. So to append just use the operator <<.
I hope this is useful for you.

Luigi
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to Print a file inside LineEdit
Next Topic: Hide Passwords in EditField[SOLVED]
Goto Forum:
  


Current Time: Mon Jun 16 05:25:15 CEST 2025

Total time taken to generate the page: 0.04346 seconds