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

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


Le 17/10/2025 à 12:13, Bruce Steers a écrit :


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


I initially though it was to add a component but disable it (i couldn't figure why)

After looking at the Gambas3 code it seems to be referred to as "Manual" checkboxes.

So I would now guess this is so you can add components but load them manually (if and when required) and not at startup to speed up program load.

But that's just a guess.
Respects
BruceS

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.


Follow-Ups:
Re: IDE: Two Columns of Checkboxes for Components in the Project PropertiesClaus Dietrich <claus.dietrich@xxxxxxxxxx>