[SOLVED] Sort Triangle Problem |
Post Reply |
Author | ||
markr
Senior Member Joined: 01 August 2004 Status: Offline Points: 442 |
Post Options
Thanks(0)
Posted: 20 July 2015 at 7:24pm |
|
Hi Oleksandr,
Perfect, that did the trick. Thanks for the info! Regards, Mark R.
|
||
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
|
Hello Mark,
Make sure that
You can find out where this variable is changed by setting data break point to m_DrawSortTriangleStyle in your SomeView::OnCreate method. I know about similar issue with drawing sort triangle when PlusMinus enabled (CXTPReportColumn::SetPlusMinus(TRUE)), but it is hard to fix. Regards, Oleksandr Lebed |
||
markr
Senior Member Joined: 01 August 2004 Status: Offline Points: 442 |
Post Options
Thanks(0)
|
|
Hello,
Unless I'm doing something wrong, it doesn't appear that the "xtpReportDrawSortTriangleAlways" option is functioning as intended in the v17 release. I'm setting it as follows: reportCtrl.GetPaintManager()->m_DrawSortTriangleStyle = xtpReportDrawSortTriangleAlways; According to comments in the XTP source code, this should cause the sorted column caption to be truncated with an ellipses (if needed) so that the sort triangle is always shown. However, that's not what happens - the sort triangle is simply dropped if the column size becomes too small. Regards, Mark R.
|
||
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 |