No hitcode by using timeline |
Post Reply |
Author | |
Ditte
Groupie Joined: 28 October 2007 Status: Offline Points: 94 |
Post Options
Thanks(0)
Posted: 19 August 2009 at 9:37am |
Hi,
it is normal, to get no hitcode if I´m in timeline mode. In calandar mode I get back the hitcode (CalendarHitTestCode) |
|
Regards
Dittmar Product: Xtreme SuitePro (ActiveX) 13.4.2 Platform: Win XP Language: Visual Dataflex 16.1 |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
As timeline mode allows to use context menu and passed proper values to EventEditor - sure you can do smth similar:
Private Sub CalendarControl_ContextMenu(ByVal X As Single, ByVal Y As Single)
Dim EventID As Integer
Dim HitTest As CalendarHitTestInfo Set HitTest = CalendarControl.ActiveView.HitTest If Not HitTest.ViewEvent Is Nothing Then Set ContextEvent = HitTest.ViewEvent.Event 'EventID = ContextEvent.Id Me.PopupMenu mnuContexEditEvent Set ContextEvent = Nothing Else Me.PopupMenu mnuContextNewEvent End If End Sub
|
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
New (13.2 beta) properties for TimeLineView exposed from MFC to ActiveX - https://forum.codejock.com/uploads/BetaOCX/CalendarBeta13-2.rar
DATE CalendarControl.TimeLineView.TimeScaleMinTime - get and set DATE CalendarControl.TimeLineView.TimeScaleMaxTime - only get as set based on Form width! int CalendarControl.TimeLineView.TimeScaleID- get and set (can be:
xtpTSPID_Day = 1 xtpTSPID_Week = 2 xtpTSPID_Month = 3 xtpTSPID_WorkWeek = 4) |
|
Ditte
Groupie Joined: 28 October 2007 Status: Offline Points: 94 |
Post Options
Thanks(0)
|
Thank you for information
|
|
Regards
Dittmar Product: Xtreme SuitePro (ActiveX) 13.4.2 Platform: Win XP Language: Visual Dataflex 16.1 |
|
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 |