XTPReportRow |
Post Reply |
Author | |
sodind
Groupie Joined: 16 March 2011 Status: Offline Points: 28 |
Post Options
Thanks(0)
Posted: 12 July 2011 at 4:58pm |
Hello,
How can I set row's size (height)? Is this possible? Thanks.
|
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
|
I'm also searching for this!
I want to use fixed row height, but it should be increased by several px. Can't find a way how to do this. SetFixedRowHeight(FALSE) can't be used, because scrolling performance is then really poor! |
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
Hello Martin,
This is possible through CXTPReportPaintManager::m_nRowHeightDefault variable. But to apply changes you must reset text font . Also for better appearance add alignment for every column xtpColumnTextVCenter.
Regards, Oleksandr Lebed |
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
|
Hi;
Meanwhile I found a better solution: I created my own CXTPReportPaintManager and wrote a SetRowHeight() function that I call in the constructor of my CXTPReportControl derived class. That's it.
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
Marco1
Senior Member Joined: 16 January 2004 Location: Germany Status: Offline Points: 251 |
Post Options
Thanks(0)
|
Meanwhile, we created our own 15.3.2 version with own fixes and enhancements (some merges of the 16.x branch).
Things like your fix above go direct inside our version. Thanx. Unfortunately all 16.x. wasn't and isn't usable in our product. The way we've chosen is to stay by our own 15.3.2 version and 2010 themes for the next years and maintain the toolkit on our own. 15.3.1 is a very stable and IMHO the best version of the toolkit. Let's see how things here play out... |
|
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 |