Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - HOWTO: Icon only in header and text in groupby
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

HOWTO: Icon only in header and text in groupby

 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: HOWTO: Icon only in header and text in groupby
    Posted: 19 April 2012 at 8:54am
Hi;

I have a column that should show only an icon when visible in the report header.
When the column is dragged to the group by area or is shown in the fieldchooser list control it should show the description (name) of the column.
How can this be achieved????
I tried several approaches, but when the column is part of the group by area and then also visible in the report header (see screenshot) it always shows the name only.


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
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18047
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 19 April 2012 at 9:10am
This is how it normally works.  See the Report Sample:


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: 19 April 2012 at 9:40am
Hi;

This does not work. Just enable column sizing and you see what I mean. I only want a symbol without any caption in header for a sizeable column!

See your sample with resizable column:


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
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 19 April 2012 at 10:59am
Hi,

I'll add the following column options:

Header.ShowText
Header.ShowIcon
GroupBy.ShowText
GroupBy.ShowIcon
FieldChooser.ShowText
FieldChooser.ShowIcon

Andre

Codejock support
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: 19 April 2012 at 11:00am
Thanks!
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
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.094 seconds.