Basics: "Options Tab" versus "Dialogue"

Started by Peter2, December 29, 2013, 03:20:00 AM

Previous topic - Next topic

Peter2

In the last time I made two small routines
- with "Options Tab" and
- others with "modal Dialogues" which have options for the routines too.

Now I want to ask for your opinion - "What is the best place for a collection of controls which handles options and settings?"

No doubt - a routine which "talks with the user" (very often usage of input, output, selection, .. ) needs a dialogue which comes and goes quick and easy.
But for a routine which works in the background, based on some rarely changed settings ... - would you select an "Option Tab" or a "Modal Dialogue"?

Thanks, best regards and
A happy new year
Peter
ODCL 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10

Fred Tomke

Hello, Peter2,

I never used option tabs for settings. I made many setting forms - each one for the special module. Of course, it's a nice idea to place general settings in the option tab. But over the years in my experiences AutoCAD needs more and more time to open the option dialog, so it's worth again to think about an own settings dialog, which can be called also very fast from your app within an own command.
Sure, not a clear anwser, but only some thoughts.

Regards, Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

Peter2

Hi Fred
Quote from: Fred Tomke on December 29, 2013, 04:57:44 AM
... but only some thoughts....
This is exactly what I am looking for ...

Quote from: Fred Tomke on December 29, 2013, 04:57:44 AM
...AutoCAD needs more and more time to open the option dialog...
Yes, that is an important fact. And another fact is that the user has to search the right tab.
Peter
ODCL 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10

owenwengerd

They are not OpenDCL based, but for QuikPik and Periscope I made both an options tab and a standalone modal dialog (called with a XXXSETTINGS command) with identical controls. I suspect that most people use the modal dialog version, but the Options tab can be useful for browsing all user settings when someone is not familiar with the specific system setup or is simply new to CAD.
Owen Wengerd (Outside The Box) / ManuSoft

Fred Tomke

Owen, I know there was a similar question in the past but this matches here again: is it possible to design a container dialog which can be used as an instance in the option tab as well as in a modal form? A tab is nothing else as such an instance of a control container.
Regards, Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

Peter2

Quote from: Fred Tomke on December 30, 2013, 12:49:14 AM
...A tab is nothing else as such an instance of a control container...
Do you mean something like "external references" (like DWG)? Defined once, used (referenced) often?
Peter
ODCL 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10

Fred Tomke

Yes, Peter2, I mean it this way. It's a standard procedere in an object orientated development language (like C++, C#): you define an own custom control with a couple of controls and some custom events and properties. All the subcontrol's events are managed within the custom control.
Greetings, Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

owenwengerd

Fred, the problem is that the OpenDCL forms system currently does not follow a proper container architecture that allows such a multiple-instance system. It will be pretty disruptive to change the design, but maybe some day.
Owen Wengerd (Outside The Box) / ManuSoft