Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - How to create auto size column
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to create auto size column

 Post Reply Post Reply
Author
Message
YMHiK View Drop Down
Groupie
Groupie
Avatar

Joined: 21 January 2009
Location: United States
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote YMHiK Quote  Post ReplyReply Direct Link To This Post Topic: How to create auto size column
    Posted: 21 January 2009 at 4:52pm
How to create CXTPReportColumn object so that autosize is enabled, but to prevent user from resizing this column manually?
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
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: 22 January 2009 at 11:14am
Sure, set AllowColumnResize to False and AutoResize to True
Back to Top
YMHiK View Drop Down
Groupie
Groupie
Avatar

Joined: 21 January 2009
Location: United States
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote YMHiK Quote  Post ReplyReply Direct Link To This Post Posted: 23 January 2009 at 11:39am
I assume you set AllowColumnResize to false on ReportHeader object. Doesn't it mean that all columns will be affected by this?
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
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: 26 January 2009 at 10:43am
Just set Resizable to False for that column
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.141 seconds.