![]() |
TrackControl and SetVisible |
Post Reply
|
| Author | |
zaksoft
Senior Member
Joined: 05 June 2003 Location: Italy Status: Offline Points: 163 |
Post Options
Thanks(0)
Quote Reply
Topic: TrackControl and SetVisiblePosted: 16 August 2010 at 12:38pm |
|
I need to show / hide track control. I'm doing the same calls both for standard column and track:
1) Get CXTPReportColumn * as pCol
2) pCol->SetVisible ( TRUE | FALSE )
This doesnt work for track control, objects inside disappear, but the host column is still there
Any suggestion ?
|
|
|
VS2022 - MFC MBCS Statically linked
XTP 23.1 Static Link --------------------------------------------------------- Davide Zaccanti - ZakSoft - www.zaksoft.com |
|
![]() |
|
zaksoft
Senior Member
Joined: 05 June 2003 Location: Italy Status: Offline Points: 163 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 August 2010 at 2:41am |
|
Anyone can help ? any way to hide track control ?
I need also to know how to print track header. Using standard code for report control all items are printed except header, so bars are not understandable
TIA
|
|
|
VS2022 - MFC MBCS Statically linked
XTP 23.1 Static Link --------------------------------------------------------- Davide Zaccanti - ZakSoft - www.zaksoft.com |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 August 2010 at 1:57am |
|
Hi,
Yes, thanks needs fixes. in CXTPTrackPaintManager::DrawTrackHeader add if (!pTrackColumn || !pTrackColumn->IsVisible()) return; Checking more. |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
zaksoft
Senior Member
Joined: 05 June 2003 Location: Italy Status: Offline Points: 163 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 September 2010 at 9:31am |
|
Any update about this ?
|
|
|
VS2022 - MFC MBCS Statically linked
XTP 23.1 Static Link --------------------------------------------------------- Davide Zaccanti - ZakSoft - www.zaksoft.com |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |