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 » RichText,QTF,RTF... » QTF table borders disappering on Report/Perform()
Re: QTF table borders disappering on Report/Perform() [message #23407 is a reply to message #23381] Sat, 17 October 2009 13:28 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
jeremy_c wrote on Thu, 15 October 2009 10:09

I have created a table dynamically and then use Report/Perform() to display/print the report. However, sometimes the borders display and other times they do not. If I resize the window it changes which borders appear. Sometimes you can get it just right so that all the borders appear.

Excuse the longer example but it has QTF code to show the problem:

Report r;
r << "[ $$0,0#00000000000000000000000000000000:Default]"
"[{_} "
"[ {{1755:848:856:846:834:869:795:3197@7|2 [s0;=%% [*2 Points]]"
"::|2 [s0;=%% [*2 CH]]"
":: [s0;=%% [*2 Dist]]"
":: [s0;=%% [*2 GS]]"
":: [s0;=%% [*2 ETE]]"
":: [s0;=%% [*2 ETA]]"
":: [s0;=%% [*2 Fuel U]]"
"::|2 [s0;=%% [*2 Notes]]"
"::@2 [s0; ]"
":: [s0; ]"
"::@7 [s0;=%% [*2 Rem]]"
":: [s0;=%% [*2 Act]]"
":: [s0;=%% [*2 ATE]]"
":: [s0;=%% [*2 ATA]]"
":: [s0;=%% [*2 Fuel R]]"
"::@2 [s0; ]"
":: [s0; ]"
":: [s0; ]"
"::@7 [s0;=%% [*2 `@TD]]"
":: [s0;=%% [*2 <`- Tot]]"
":: [s0;=%% [*2 Off `->]]"
"::@2 [s0;=*2%% ]"
"::@7 [s0;=%% [*2 `@FT]]"
"::@2 [s0; ]"
":: [s0;= `@SP]"
"::|1 [s0;= `@CH]"
":: [s0;=%% `@D]"
":: [s0;=%% `@GS]"
":: [s0;=%% `@E]"
":: [s0;=%% ]"
":: [s0;=%% `@FU]"
"::|1 [s0; `@N]"
"::|1 [s0;= `@P]"
":: [s0; ]"
":: [s0;=%% `@DR]"
":: [s0;=%% ]"
":: [s0;=%% ]"
":: [s0;=%% ]"
":: [s0;=%% `@FR]"
":: [s0; ]"
":: [s0; ]"
"::|1 [s0;= `@CH]"
":: [s0;=%% `@D]"
":: [s0;=%% `@GS]"
":: [s0;=%% `@E]"
":: [s0;=%% ]"
":: [s0;=%% `@FU]"
"::|1 [s0; `@N]"
"::|1 [s0;= `@P]"
":: [s0; ]"
":: [s0;=%% `@DR]"
":: [s0;=%% ]"
":: [s0;=%% ]"
":: [s0;=%% ]"
":: [s0;=%% `@FR]"
":: [s0; ]"
":: [s0; ]"
"::@7 [s0;= [*2 Totals]]"
"::@2 [s0;=%% `@DT]"
":: [s0;=%% `@GA]"
":: [s0;=%% `@ET]"
":: [s0;=%% `-]"
":: [s0;=%% `@FT]"
":: [s0; `-]}}]";
	
Perform(r);


Is there a way to fix this?

Jeremy


It is because it scales down too much -> the width drops bellow 1 pixel.

Interestingly, there is simple way to fix the problem - add Painter package to your project. That will activate high-quality subpixel accuracy software rendering of Reports and thin lines will be drawn just fine (as gray).

Mirek

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to construct RichText without using QTF?
Next Topic: Page Totals in a table?
Goto Forum:
  


Current Time: Thu May 02 17:18:58 CEST 2024

Total time taken to generate the page: 0.01743 seconds