Time line
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=22186
Printed Date: 30 January 2025 at 5:45pm Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: Time line
Posted By: Fabian
Subject: Time line
Date Posted: 31 January 2014 at 7:55am
Hi I plan to use the tracking object of the ReportControl for generating a GANTT chart. The sample (VB6) shows a time line from 0 to 200. Is it possible to thow a timeline like a calendar e.g.
31.1. 1.2. 8 9 10 11 12... 8 9 10...
------------- Product: Xtreme SuitePro (ActiveX) version 16.2.3
Platform: Windows 7 (32bit)
Language: Visual Basic 6.0 / SP6
|
Replies:
Posted By: Xander75
Date Posted: 06 March 2014 at 4:42am
Hi,
Been a while since I have replied on here to any posts... I've moved away from VB6 into the world of C#.Net. I still use the Codejock tools though!
Anyways, the answer is both Yes & No!?
No: The TrackControl only allows for one header, but this can be changed from calendar to time line or anything you want.
Yes: You can have a calendar type style, but the TrackControl won't do all the work for you! Using a little bit of coding magic its simple to create a header row that sits above the TrackControl, which you can put your own header in. A scrolling header can be done also, just takes a bit more code to implement.
The below screenshots were done using the TrackControl and Drawing techniques to build the interface I needed for my applications.
Everything is possible, you just don't know it yet!
------------- Product: Xtreme SuitePro (ActiveX) v15.3.1 Platform: Windows 7 64-bit (SP1) Professional Edition Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6)
|
Posted By: Fabian
Date Posted: 07 March 2014 at 6:00am
Hi Xander75,
Looks nice. You mean: putting a picture box above the track control and doing the drawing in the TimeLineLabel event?
Regards Fabian
------------- Product: Xtreme SuitePro (ActiveX) version 16.2.3
Platform: Windows 7 (32bit)
Language: Visual Basic 6.0 / SP6
|
Posted By: Xander75
Date Posted: 10 March 2014 at 3:58am
Hi Fabian,
Yeah if you look at both screenshots above you'll notice that both are masked by a PictureBox control, which has then been drawn over to either create another header label as in screenshot 1 or to just hide the scrollbar as in screenshot 2.
------------- Product: Xtreme SuitePro (ActiveX) v15.3.1 Platform: Windows 7 64-bit (SP1) Professional Edition Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6)
|
Posted By: baroshlamaj
Date Posted: 31 July 2014 at 10:14pm
I actually was able to do this, but I am having trouble printing, it looks very messy. Any solution?
|
|