Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Setting the focus to an appointment (Read 2012 times)
madrider
YaBB Newbies
*
Offline



Posts: 15
Joined: Jul 30th, 2007
Setting the focus to an appointment
Aug 22nd, 2007 at 4:42am
Print Post  
How do I set the focus to an appointment? After an appointment has been selected, the user can click a button to do some stuff and then I want to set the focus back to the the appointment. Thanks for any info.
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Setting the focus to an appointment
Reply #1 - Aug 22nd, 2007 at 5:10am
Print Post  
There is no concept for focusing an appointment and I am not really certain what you want to achieve. If you mean in-place editing the item, you can invoke the Calendar.StartInplaceEdit method and pass the item as a reference. If you mean selecting, then you can add the item to the Calendar.ItemSelection collection. Other than that, you can simply focus the Calendar control itself, by calling its Focus method.

Meppy
  
Back to top
 
IP Logged
 
madrider
YaBB Newbies
*
Offline



Posts: 15
Joined: Jul 30th, 2007
Re: Setting the focus to an appointment
Reply #2 - Aug 23rd, 2007 at 2:07am
Print Post  
in the application that I am working on, the user can select an appointment in resource view and then click a button to copy the appointment to another day. Once the button is clicked, the appoinment has lost focus and the users want the focus to be set back on the appointment. If I add the appointment to the Itemselection collection, will it be selected?
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Setting the focus to an appointment
Reply #3 - Aug 23rd, 2007 at 4:28am
Print Post  
Yes, adding the appointment to the ItemSelection will effectively select it.

Meppy
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint