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 » Community » Newbie corner » margin / Report
margin / Report [message #55877] Fri, 25 December 2020 17:56 Go to next message
BetoValle is currently offline  BetoValle
Messages: 202
Registered: September 2020
Location: Brasil Valinhos SP
Experienced Member
if I configure the report margin, the way below I can't get results
as the image in the attached file
depending on the code below

    Report r;
     
    r.Margins(100,100);
     
    String s = "myTextReport";

    r << s;


How should I do?

thanks!
Re: margin / Report [message #55880 is a reply to message #55877] Fri, 25 December 2020 22:32 Go to previous messageGo to next message
BetoValle is currently offline  BetoValle
Messages: 202
Registered: September 2020
Location: Brasil Valinhos SP
Experienced Member
within the same question, how do I set a margin for a table? (following the code below)


        String tab;
	tab << "{{1:1:1:1:1:1:4 A:: B:: C:: D:: E:: F:: G (wider)";
	for(int row = 0; row < 10; row++)
		for(int column = 0; column < 7; column++)
			tab << ":: " << row << ":" << column;
	r << tab;


note: I saw in the U ++ document that a margin should be "<number", but if you put it in the example above as
"{{<200 1:1:1:1:1:1:4 A:: B:: C:: D:: E:: F:: G (wider)"

generates inconsistency!

How do I do?

thanks
Re: margin / Report [message #55881 is a reply to message #55880] Fri, 25 December 2020 23:02 Go to previous messageGo to next message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
If you plan on directly writing QTF, then use the QTF desognor to help you (it is embeded in Theide)
Re: margin / Report [message #55882 is a reply to message #55881] Sat, 26 December 2020 00:08 Go to previous messageGo to next message
BetoValle is currently offline  BetoValle
Messages: 202
Registered: September 2020
Location: Brasil Valinhos SP
Experienced Member

ok, even with the QTF designer "facilitator" I can't get the margins questioned! The question involves knowledge about the definition of margin and is not in any of the examples offered.
Re: margin / Report [message #55883 is a reply to message #55882] Sat, 26 December 2020 00:17 Go to previous message
BetoValle is currently offline  BetoValle
Messages: 202
Registered: September 2020
Location: Brasil Valinhos SP
Experienced Member
Ok! now i understando about QTF designer, and how
explore the issue via the "editor" button where I clear everything and draw a
table considering the desired margin.

It worked, thank you for your attention!

Thanks

Merry Christmas!
Previous Topic: AESStream cause of error in GUI TopWindow
Next Topic: read argument count/vector in GUI
Goto Forum:
  


Current Time: Fri Mar 29 09:42:32 CET 2024

Total time taken to generate the page: 0.01476 seconds