Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Time line
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Time line

 Post Reply Post Reply
Author
Message
Fabian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 22 November 2004
Location: Switzerland
Status: Offline
Points: 336
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fabian Quote  Post ReplyReply Direct Link To This Post Topic: Time line
    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
Back to Top
Xander75 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 April 2007
Status: Offline
Points: 353
Post Options Post Options   Thanks (1) Thanks(1)   Quote Xander75 Quote  Post ReplyReply Direct Link To This Post 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)
Back to Top
Fabian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 22 November 2004
Location: Switzerland
Status: Offline
Points: 336
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fabian Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Xander75 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 April 2007
Status: Offline
Points: 353
Post Options Post Options   Thanks (0) Thanks(0)   Quote Xander75 Quote  Post ReplyReply Direct Link To This Post 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)
Back to Top
baroshlamaj View Drop Down
Newbie
Newbie
Avatar

Joined: 25 June 2014
Location: Canada
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote baroshlamaj Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.