Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - [Closed] Fit to Contents
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[Closed] Fit to Contents

 Post Reply Post Reply
Author
Message
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Topic: [Closed] Fit to Contents
    Posted: 25 September 2006 at 8:30am
If I am right there's no simple 'Fit to Contents' option with the Report control?

What's the intelligent way to determine the optimal width for a column?
Simon HB9DRV
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 25 September 2006 at 2:24pm
Hello,
 
there is method:
CXTPReportHeader::BestFit(CXTPReportColumn* pColumn)
user can double click on column's devider to call it.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 25 September 2006 at 3:03pm
Thanks - I'll try it. 
Simon HB9DRV
Back to Top
Guy1 View Drop Down
Newbie
Newbie


Joined: 04 May 2006
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote Guy1 Quote  Post ReplyReply Direct Link To This Post Posted: 02 November 2006 at 12:56pm
Hi Oleg,
 
I have tried to find this 'BestFit' method and it does not seem to be in the online help file.
 
Am I missing something?
 
We are using 10.3 for ActiveX.
 
Thanks,
Guy Anderson
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.157 seconds.