Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Column Width
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Column Width

 Post Reply Post Reply
Author
Message
Shawshank View Drop Down
Senior Member
Senior Member


Joined: 16 October 2005
Status: Offline
Points: 117
Post Options Post Options   Thanks (0) Thanks(0)   Quote Shawshank Quote  Post ReplyReply Direct Link To This Post Topic: Column Width
    Posted: 03 December 2006 at 7:34pm
I have a report control with a single column. The RC is sized, upon initial load, to the user's screen resolution. I'd like the single column in the RC to be the same width as the RC itself. I've tried adding RC.Width to the size property at the column's creation but that makes it very large and includes scroll bars. How does one make the column width be exactly the same size as the RC?
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 14 December 2006 at 2:08pm
Set folowing properties:

ReportControl.AutoColumnSizing = True
 
ReportColumn.AutoSize = True
ReportColumn.Resizable = True

 
See also a regular sample, play with it, remove all columns excluding subject.

--
WBR,
Serge
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.