How to move focus/selection to a particular contact/item in Explor

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have extended the Contacts Explorer with a sub-pane that collects data.

As soon as the user selects another contact from the contact's explorer
(phone list view), the data is then saved for the previously selected
contact. If there is an error in the data, I either want to

a) Prevent the user from switching to another contact

OR

b) I want to program the selection and focus rectangle back to the
original contact

How can I code this? Any help would be appreciated
 
The Selection collection cannot be set in code and there is no cancel
parameter for the SelectionChange event. The best you can do is set Cancel =
True if the user tries to switch to a different folder. You can't do what
you want.
 
Back
Top