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 » ArrayCtrl, HeaderCtrl & GridCtrl » ArrayCtrl.AsQtf bug?
ArrayCtrl.AsQtf bug? [message #40684] Sun, 01 September 2013 22:57 Go to previous message
forlano is currently offline  forlano
Messages: 1182
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

today I experienced a very strange problem in my application.
This is how it looks a qtf file on a windows 7 machine with resolution (around) 1300x768:
index.php?t=getfile&id=4312&private=0

and this is how it should look (got on a XP machine) 1024x768 resolution
index.php?t=getfile&id=4313&private=0

Both images are produced by the same executables with the same data.
What make the difference is the following string that defines the table in the qtf file:
in the first picture it is
{{74:425:75:424:75:150:0:100:0@L
in the second one (that correct) it is
{{38:220:38:220:38:78:0:52:0@L

Both qtf table are generated automatically by
arrp.AsQtf();
method that I use to get for free a qtf table from a populated ArrayCtrl (just I add a header and footer to it).

From what I can see it seems the method AsQtf() is resolution dependent. Is it true?
If yes the proportion are not correct, at least at that I have used. My Upp version is the old 4603.
Only now I (believe to) have understood where the issue is. Tomorrow I'll try to modify the resolution on the windows 7 machine to test my hypothesis and let you know.

Thanks,
Luigi


  • Attachment: v1.png
    (Size: 9.42KB, Downloaded 407 times)
  • Attachment: v2.png
    (Size: 10.70KB, Downloaded 377 times)
 
Read Message
Read Message
Read Message
Previous Topic: Retrieving column index like a row
Next Topic: Two "basic" operations on GridCtrl
Goto Forum:
  


Current Time: Thu Mar 28 18:31:38 CET 2024

Total time taken to generate the page: 0.02097 seconds