Forum > Designer

[SOLVED] Feature request: Default hide/show nonvisual components

(1/3) > >>

Hansaplast:
I was wondering if this feature can be added to the IDE options: hide/show nonvisual components.
(under setting: IDE options - Envronment - Miscellaneous)

There is already the option "Show captions of nonvisual components", so maybe the proper place to have to add the option to hide nonvisual components by default. I always hide the nonvisual components, but I always have to right click the form to hide them with new projects, and after loading a project (this option does not seem to be saved in the project).

Please correct me if this already exists.

n7800:
Yes, I noticed this a long time ago too and wanted to write a patch, but I kept putting it off until I forgot ))

Of course, this option should be added to the "Environment > Form Editor" category along with the other Designer options.

I don't know if you mentioned project options by accident, but I think it should be implemented only at the IDE level.

Hansaplast:
I totally agree 😊
Haha, like we both said, under setting: IDE options - Environment - Miscellaneous.

Either I wrote it a little clumsy or you misread 😉

Anywho ... Would be great to have that option though!

n7800:
I've finished the patch and created a merge request. Let's see what the developers have to say...

n7800:
There's a small nuance. The option is now available in the Designer context menu and in the IDE Options dialog. What are the interaction variants?

1. Only the setting in the options dialog is remembered. This is the default state for each new Designer. You can change its state separately via the context menu, and it won't be remembered. This is quite flexible.

2. Changes in the context menu are also remembered. This is much more obvious and familiar to the user, and theoretically, the checkbox in the options might not even be necessary. On the other hand, there can be multiple Designers - switching the state in one won't change the others. This means there can be multiple states, but only the most recent switch is remembered.

3. As in the second case, but switching in any Designer will change all the others. This consistent but it's lacks flexibility.

Personally I don't have a preference. So far, only the first option is technically implemented.

Navigation

[0] Message Index

[#] Next page

Go to full version