column resize bug in ReportControl |
Post Reply |
Author | |
xafier
Newbie Joined: 02 April 2008 Status: Offline Points: 7 |
Post Options
Thanks(0)
Posted: 29 June 2009 at 5:15am |
With version 13.1.0 there seems to be a bug when adding more columns than can fit on the screen.
After a bit of debugging it appears the bug is to do with changes in CXTPReportHeader::AdjustColumnsWidth() and CXTPReportControl::OnSize(). If you add enough columns so the width of them is greater than the screens horizontal resolution and then you resize your application then the columns will all auto-size to a really small size. This is really irritating, not sure if this is a bug or intentional but its certainly not desired by us. |
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
Ah, now I understand why I got this weird behavior. Very frustrating, indeed.
|
|
PokerMemento - http://www.pokermemento.com/
|
|
Fabian
Senior Member Joined: 22 November 2004 Location: Switzerland Status: Offline Points: 336 |
Post Options
Thanks(0)
|
Do you use .BestFit? I checked an early beta of 13.1.0 (ActiveX) where .BestFit results in small (5mm) columns (V13.0 works as expected)?
Still using 13.0.0, VB6
|
|
Product: Xtreme SuitePro (ActiveX) version 16.2.3
Platform: Windows 7 (32bit) Language: Visual Basic 6.0 / SP6 |
|
xafier
Newbie Joined: 02 April 2008 Status: Offline Points: 7 |
Post Options
Thanks(0)
|
We use BestFit when a column is set back to visible but we do not periodically use BestFit on all columns or anything like that.
With the help of codejock support I've managed to fix the problem although need to test more to see what side affects the changes have. The fix was to set bAutoSize to FALSE in the constructor of creating each column and then called EnableResize() on each column with TRUE so that they can still be resized manually. I also requested that they add a Setter function so you can set m_bAutoSize manually, as currently you can only do it via the constructor which also uses the same parameter to set whether they can be sized or not. |
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
Not that I remember...
|
|
PokerMemento - http://www.pokermemento.com/
|
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |