Print Page | Close Window

How to add scrollbar to Report Control ?

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=3635
Printed Date: 29 April 2024 at 12:31am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to add scrollbar to Report Control ?
Posted By: shrutij
Subject: How to add scrollbar to Report Control ?
Date Posted: 09 February 2006 at 6:03am

Hello,

I am using Codejock report control for displaying data from Ms-Access database. One of the Access table has 170 columns.All columns are not visible.So I want to add horizontal scrollbar for reportcontrol.

How to do it?

Thanks.




Replies:
Posted By: SuperMario
Date Posted: 09 February 2006 at 7:32am
Simply add this code before you add your columns and the columns will use the width that you specify:

wndReportControl.AutoColumnSizing = False

When AutoColumnSizing is True the width that you set is ignored and the columns are sized to fit the screen. When False, a horizontal scrollbar will appear allowing the columns to be scrolled.  



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