Refreshing appointment view from plugin

This forum is for programmers who have questions about the source code.
Post Reply
User avatar
wjstarck
Posts: 936
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

Refreshing appointment view from plugin

Post by wjstarck » Thu Nov 11, 2010 11:51 am

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,
Cheers,

Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA

User avatar
jordansparks
Site Admin
Posts: 5744
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: Refreshing appointment view from plugin

Post by jordansparks » Fri Nov 12, 2010 6:45 pm

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.
Jordan Sparks, DMD
http://www.opendental.com

Post Reply