Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - PRB: No horizontal scrollbar in tree mode
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

PRB: No horizontal scrollbar in tree mode

 Post Reply Post Reply
Author
Message
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 991
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Topic: PRB: No horizontal scrollbar in tree mode
    Posted: 22 June 2017 at 10:07am
Hi;

Using toolkit v17.3, I created a report control with only one column and activated tree mode.
My problem is, that no scrollbar appears, when the item text is larger than the width of the report control. Instead the item text is clipped and an end ellipsis is draw.
What do I have to do, to get the scrollbar?

TIA
Martin

Product: Xtreme Toolkit v 15.3.1, new Projects v 17.2
Platform: Windows 8.1 (64bit)
Language: VC++ 2015 Upd3
Back to Top
olebed View Drop Down
Admin Group
Admin Group
Avatar

Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 567
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post Posted: 17 July 2017 at 8:22am
Hello Martin,

I can advise to disable automatic column sizing.

Regards,
 Oleksandr Lebed
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 991
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 17 July 2017 at 8:24am
Thanks,

but how can I calculate the required column width an what is the best way to adjust the width then to this size?

TIA


Martin

Product: Xtreme Toolkit v 15.3.1, new Projects v 17.2
Platform: Windows 8.1 (64bit)
Language: VC++ 2015 Upd3
Back to Top
olebed View Drop Down
Admin Group
Admin Group
Avatar

Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 567
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post Posted: 17 July 2017 at 8:32am
call  CXTPReportHeader::BestFit(CXTPReportColumn* pColumn)
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.124 seconds.