Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Retrieving selected contact (Read 4915 times)
Philip
Guest


Retrieving selected contact
Jun 7th, 2006 at 7:30pm
Print Post  
In Time Table view, when there is a range of times selected I cannot find any way to determine the contact that these times are listed under.  I can determine this through the mouse events using GetContactAt, but not when the user uses the keyboard.  Am I missing something?
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Retrieving selected contact
Reply #1 - Jun 8th, 2006 at 5:57am
Print Post  
It seems that there is no way currently to determine the conact (location, etc.) related to the current selection. We shall add this ability in the next release of Planner.NET.

Meppy
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Retrieving selected contact
Reply #2 - Jun 8th, 2006 at 11:48am
Print Post  
You can download a prerelease build of Planner.NET from the following link:

https://mindfusion.org/_planner/_Planner.NET_40pre_trial.zip
(This is a temporary url and is likely not to work in the future.)

The Selection class now provides four new properties: Location, Contact, Tast and Resource for obtaining the corresponding resource related to the currently selected cells.

Meppy
  
Back to top
 
IP Logged
 
Philip
Guest


Re: Retrieving selected contact
Reply #3 - Jun 8th, 2006 at 3:02pm
Print Post  
Thanks for the quick response!  Would it be possible to set the contact/location/etc. when the date range is set?

i.e. calendar.Selection.Set(d1, d2, contact);

Thanks!
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Retrieving selected contact
Reply #4 - Jun 9th, 2006 at 5:03am
Print Post  
Yes. Actually there are internal methods for doing exactly this. We shall make them public in the next release.

Thank you for the suggestion.

Meppy
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Retrieving selected contact
Reply #5 - Jun 13th, 2006 at 5:29am
Print Post  
The following prerelease adds new Add and Set methods to the Seleciton class that allow selecting resource-related cells.

https://mindfusion.org/_planner/_Planner.NET_40pre_trial2.zip
(This is a temporary url and is likely not to work in the future.)

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