Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - How can I get the Resource...
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How can I get the Resource...

 Post Reply Post Reply
Author
Message
djldc View Drop Down
Newbie
Newbie


Joined: 08 January 2010
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote djldc Quote  Post ReplyReply Direct Link To This Post Topic: How can I get the Resource...
    Posted: 10 February 2010 at 9:55am
I am trying to retrieve the schedule name or ID by a double click. Say I have three schedules... I want to be able to automatically get the schedule name or ID of the column that I want to make an appointment for. I see that I can get a Schedule Name, but only if I have an ID. Thanks for any help.

DOn
Back to Top
phainge View Drop Down
Groupie
Groupie
Avatar

Joined: 03 July 2009
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote phainge Quote  Post ReplyReply Direct Link To This Post Posted: 25 February 2010 at 4:04am
Hi Don,
 
The following VB6 code will return the resource object for the calendar view that was double-clicked, you can then use this to get the schedule(s) assigned to that view via the "ScheduleIDs" property of the returned resource object:
 
CalendarControl.MultipleResources.Item(CalendarControl.ActiveView.Selection.GroupIndex)
 
The above assumes that your calendar control is called "CalendarControl".
 
Peter
Xtreme SuitePro (ActiveX) 15.1.3
Windows 7 Pro (64bit) SP1
Visual Basic 6.0 SP4
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.188 seconds.