Page 1 of 1

Refreshing appointment view from plugin

Posted: Thu Nov 11, 2010 11:51 am
by wjstarck
I want to save the current appointment view to the db and then have the appointment book refresh to that when my plugin loads.

I can't quite understand how the apptview is changed when comboView.SelectedIndex is changed on ContrAppt. Can you give me some pointers? I shouldn't need a hook for this, should I?

Thanks,

Re: Refreshing appointment view from plugin

Posted: Fri Nov 12, 2010 6:45 pm
by jordansparks
Well, the current appointment view would be the selected index of the appt view combo box. And then you'd set the selected index again when you wanted to and it has a built in event to respond to that my loading the new view. It's really as simple as that.