Current Cell |
Post Reply |
Author | |
koenm
Newbie Joined: 13 November 2007 Location: Belgium Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 13 November 2007 at 12:20pm |
I have a popup-menu where i can past a event in my agenda (A avent that's not in my agenda yet), can anyone tell me how i get the time of my current selected cell?
|
|
moe188
Senior Member Joined: 27 March 2006 Status: Offline Points: 220 |
Post Options
Thanks(0)
|
hi,
try something like that:
Private Sub CalendarControl_SelectionChanged(ByVal SelType As XtremeCalendarControl.CalendarSelectionChanged)
If SelType = xtpCalendarSelectionDays Then
msgbox "SelectionChanged. Day(s).",vbinformation If CalendarControl.ActiveView.Selection.IsValid Then msgbox CalendarControl.ActiveView.Selection.Begin,vbinformation msgbox CalendarControl.ActiveView.Selection.End, vbinformation End If End If If SelType = xtpCalendarSelectionEvents Then msgbox"SelectionChanged. Event(s).",vbinformation End If End Sub good luck
|
|
koenm
Newbie Joined: 13 November 2007 Location: Belgium Status: Offline Points: 2 |
Post Options
Thanks(0)
|
I'm working with progress software, i have the property ActiveView, but not de property Selection, anyone another possibility?
|
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
Within your environment you most likely have to call those properties step-by-step:
-- WBR, Serge |
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
Also look into another Progress developers topics, like this one: http://forum.codejock.com/forum_posts.asp?TID=6747
-- WBR, Serge |
|
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 |