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 » How to Print a file inside LineEdit
Re: How to Print a file inside LineEdit [message #3288 is a reply to message #3285] Wed, 17 May 2006 20:45 Go to previous message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
luzr wrote on Wed, 17 May 2006 20:30

There should be a single space after sizefont to delimit/terminate qtf command sequence... And ending "]" is not necessary here:

r << "[C+" + sizefont + ' ' + DeQtf(line);


Mirek



ooops... Sad , you are right and in my code there is. In fact without it I couldn't print. In the original version the space was in size font
sizefont = AsString( (int)(59 + (hf - 7.) * 10.) ) + " ";

But I didn't like there. So I removed it from there to move in r <<... but I forgot to add ... Smile
About " ]" good to know.

Luigi
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to let appear by default the bar in the LineEdit?
Next Topic: Append separate Strings to a DocEdit[SOLVED]
Goto Forum:
  


Current Time: Sun Apr 28 18:53:50 CEST 2024

Total time taken to generate the page: 0.03900 seconds