Time line |
Post Reply |
Author | |
Fabian
Senior Member Joined: 22 November 2004 Location: Switzerland Status: Offline Points: 336 |
Post Options
Thanks(0)
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 |
|
Xander75
Senior Member Joined: 26 April 2007 Status: Offline Points: 353 |
Post Options
Thanks(1)
|
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) |
|
Fabian
Senior Member Joined: 22 November 2004 Location: Switzerland Status: Offline Points: 336 |
Post Options
Thanks(0)
|
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 |
|
Xander75
Senior Member Joined: 26 April 2007 Status: Offline Points: 353 |
Post Options
Thanks(0)
|
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) |
|
baroshlamaj
Newbie Joined: 25 June 2014 Location: Canada Status: Offline Points: 5 |
Post Options
Thanks(0)
|
I actually was able to do this, but I am having trouble printing, it looks very messy. Any solution?
|
|
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 |