Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - How to add scrollbar to Report Control ?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to add scrollbar to Report Control ?

 Post Reply Post Reply
Author
Message
shrutij View Drop Down
Newbie
Newbie
Avatar

Joined: 09 February 2006
Location: India
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote shrutij Quote  Post ReplyReply Direct Link To This Post Topic: How to add scrollbar to Report Control ?
    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.

Back to Top
SuperMario View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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.  
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.

This page was generated in 0.172 seconds.