There is a bug when activating easy options, i.e. the modules are not hidden properly. You should set the Enabled property to "false" in addition to making a control invisible, otherwise when you hide modules they disappear from the screen but you can still click them.
FormOpenDental RefreshLocalData
Easy options bug
- jordansparks
- Site Admin
- Posts: 5770
- Joined: Sun Jun 17, 2007 3:59 pm
- Location: Salem, Oregon
- Contact:
Re: Easy options bug
You can't click on an invisible control. So you must mean something else. I would need a better description of the exact easy option that you are turning on, exactly which module is visible before you turn it on, what the exact behavior is after you turn it on, and what exact user action causes that behavior. Give it to me step by step.
Jordan Sparks, DMD
http://www.opendental.com
http://www.opendental.com
Re: Easy options bug
Typically to disable a control you must set ctrl.Visible = false; ctrl.Enabled = false;
Now to my problem. When you set Basic Modules Only in Easy Options, the buttons disappear from the outlook bar, but you can still click them. Try to click on the exact spot where the Manage button used to be, it will open the manage control. Normally, that can be easily fixed by setting Enabled to false, but in this case you are working with OutlookButton which does not implement this behavior. You will probably have to add this property to the OutlookButton and test it in mouse listeners.
Now to my problem. When you set Basic Modules Only in Easy Options, the buttons disappear from the outlook bar, but you can still click them. Try to click on the exact spot where the Manage button used to be, it will open the manage control. Normally, that can be easily fixed by setting Enabled to false, but in this case you are working with OutlookButton which does not implement this behavior. You will probably have to add this property to the OutlookButton and test it in mouse listeners.
-
- Posts: 57
- Joined: Thu Nov 15, 2007 6:51 am
Re: Easy options bug
I can confirm this behavior, running head/6.2.
Re: Easy options bug
I was wrong about the general method for disabling controls, it seems that the visible property is sufficient.
The particular problem with the OutlookButton remains.
The particular problem with the OutlookButton remains.
- jordansparks
- Site Admin
- Posts: 5770
- Joined: Sun Jun 17, 2007 3:59 pm
- Location: Salem, Oregon
- Contact:
Re: Easy options bug
Got it. I wrote the OutlookBar control, and it looks like a very simple tweak to change its behavior. Thanks.
Jordan Sparks, DMD
http://www.opendental.com
http://www.opendental.com