Print Page | Close Window

TrackControl and SetVisible

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=17119
Printed Date: 15 May 2024 at 7:44am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: TrackControl and SetVisible
Posted By: zaksoft
Subject: TrackControl and SetVisible
Date Posted: 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 ?


-------------
VS2008 SP1 - VS2010 SP1 - VS2012 - MFC MBCS Statically linked
XTP 15.3.1 Static Link
---------------------------------------------------------
Davide Zaccanti - ZakSoft - www.zaksoft.com



Replies:
Posted By: zaksoft
Date 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


-------------
VS2008 SP1 - VS2010 SP1 - VS2012 - MFC MBCS Statically linked
XTP 15.3.1 Static Link
---------------------------------------------------------
Davide Zaccanti - ZakSoft - www.zaksoft.com


Posted By: Oleg
Date 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


Posted By: zaksoft
Date Posted: 13 September 2010 at 9:31am
Any update about this ?

-------------
VS2008 SP1 - VS2010 SP1 - VS2012 - MFC MBCS Statically linked
XTP 15.3.1 Static Link
---------------------------------------------------------
Davide Zaccanti - ZakSoft - www.zaksoft.com



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net