Print Page | Close Window

Report ctrl scrollbars always visible in 16.2

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=21757
Printed Date: 15 November 2024 at 4:15pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Report ctrl scrollbars always visible in 16.2
Posted By: markr
Subject: Report ctrl scrollbars always visible in 16.2
Date 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.



Replies:
Posted By: markr
Date Posted: 17 July 2013 at 11:19am
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?



Posted By: Fredrik
Date Posted: 01 October 2013 at 3:44am
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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net