[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IDE: Two Columns of Checkboxes for Components in the Project Properties


Am 17.10.25 um 12:20 schrieb Benoît Minisini:
On Fri, 17 Oct 2025 at 10:58, Claus Dietrich <claus.dietrich@xxxxxxxxxx <mailto:claus.dietrich@xxxxxxxxxx>> wrote:

    Hi

    Why do we have two columns of checkboxes for components in the project
    properties dialog since some time?

    Best regards

    Claus
Yes, sorry for having not been explicit about that.

If you check the second column, the component will not be loaded automatically at runtime, but the compiler will still use its metadata to compile the project.

It's useful when you load a component later in your project with 'Component.Load()', and need to compile the code using that component anyway.

Without that, you will have to add a ton of explicit "Class XXX" declarations not to have compilation errors, and won't have the automatic completion.

Regards,

--
Benoît Minisini.

Thanks for the explanation. I expected something in that area but can't associate the intended purpose with the GUI solution.

If the left checkbox is checked it has the same function as usual - loading the component automatically at runtime.

If you check the right one, the left one stays checked and the right displays a hand icon. According to you explanation this is supposed to mean that the component is NOT LOADED (although the left checkbox is checked).  I don't understand the logic and suggest to reconsider this solution.

As an idea: Why not using a single checkbox which is checked on first click, displays a hand icon on the second click and unchecks it on the third click - in a circle.

I use the loading of components by Gambas code frequently but this comprises 1-3 components typically and not tons. So I would never user it anyway.

Best regards

Claus