Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - HOWTO: CXTPReportColumnDisplaySettings
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

HOWTO: CXTPReportColumnDisplaySettings

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

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Topic: HOWTO: CXTPReportColumnDisplaySettings
    Posted: 24 April 2012 at 6:03pm
Hi;

I'm just trying to use CXTPReportColumnDisplaySettings but I'm unable to get the desired results.
Setting
    Column->GetDisplayOptions()->Column()->SetShowIcon(TRUE);
    Column->GetDisplayOptions()->Column()->SetShowText(FALSE);
still shows the text part of the column caption. But I only want to show the plain icon alone.
Is this not fully implemented yet? If so, when will the implementation be completed?
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (1) Thanks(1)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 05 March 2018 at 5:11pm
Hello;

I'm using this part of code to set up the visibility of icons and text in "GroupBy" columns inside the GroupBy control when initializing the report control instance:

Column->GetDisplayOptions()->GroupBy()->SetShowIcon(FALSE);
Column->GetDisplayOptions()->GroupBy()->SetShowText(TRUE);
Column->GetDisplayOptions()->Column()->SetShowIcon(TRUE);
Column->GetDisplayOptions()->Column()->SetShowText(FALSE);

But this has no effect, because the control uses CXTPReportPaintManager::DrawColumn() to draw the content of the column. Inside this methode I can see that only pColumn->GetDisplayOptions()->Column()->IsShowText() is used. Therefore I cannot get the effect I need. In regular columns I only want an icon to be shown, but in GroupBy columns of course the text should be shown.
This is definitely not possible in v18.3 but as I remember it worked in 15.3.1? or later!
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 07 March 2018 at 6:35am
Any comment from CJ?
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017
Back to Top
olebed View Drop Down
Admin Group
Admin Group


Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post Posted: 03 April 2018 at 6:43am
Hello Martin,

I have found similar question from you in 2012 year for v15.3.1 and joined these topics. Looks like this feature haven't been finished.
As you noticed  pColumn->GetDisplayOptions()  used only in one place in method CXTPReportPaintManager::DrawColumn()  and uses only ->Column()->IsShowText() part.

I will try to finish this feature. Thank you for bringing this to our attention.

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

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 03 April 2018 at 7:04am
Great!

As you have recognized, I'm waiting for this feature since several years...
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 23 July 2020 at 7:38am
Is this implemented in v19.2?
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017
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.