Report ctrl scrollbars always visible in 16.2 |
Post Reply |
Author | |
markr
Senior Member Joined: 01 August 2004 Status: Offline Points: 443 |
Post Options
Thanks(0)
Posted: 28 June 2013 at 2:08pm |
It seems that in v16.2, the report control scrollbars are always visible - whether they're needed or not.
This is different from v15, and I'm wondering if there's a way to get the old behavior back. I'd like the scrollbars to be appear only when needed.
I worked through the various settings available in the report control sample product, but none of them seemed to affect scrollbar visibility.
|
|
markr
Senior Member Joined: 01 August 2004 Status: Offline Points: 443 |
Post Options
Thanks(1)
|
It looks like this issue might be specific to CXTPReportView, which was modified between v15 and v16 to always create horizontal/vertical scrollbars during OnCreate().
I can get the old behavior back by setting the scrollbar controls to NULL during OnCreate (after calling CXTPReportView::OnCreate). SetScrollBarCtrl(NULL, TRUE); SetScrollBarCtrl(NULL, FALSE); But I'm not sure if this has any other unintended consequences. Could someone at CodeJock please comment on why this change was made, and if my "fix" will cause any problems? |
|
Fredrik
Senior Member Joined: 22 June 2005 Status: Offline Points: 235 |
Post Options
Thanks(0)
|
bump.
I have the same issue. Is this new behaviour in v16 by design or not?
|
|
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.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 |