[Gambas-user] Where is the list of variables and prefix for them

Gianluigi bagonergi at gmail.com
Thu Dec 16 14:33:40 CET 2021


Il giorno gio 16 dic 2021 alle ore 13:40 Benoît Minisini <g4mba5 at gmail.com>
ha scritto:

>
> The three characters prefix for controls comes from VB. They are not
> very coherent, because what is important is mainly detecting at first
> sight that a symbol is a control reference, as these symbols are
> declared automatically.
>
> So you see the three initial letters of the symbols in lowercase, and
> you know that it is a global variable pointing at a control created in
> the form editor.
>
> Then, in second, I use the three letters to tell that the control is an
> text-related field (TextBox, TextArea, Label, TextLabel) editable or not
> ('lbl' <-> 'txt'), a button, a picture, a treeview... All that being
> mainly for basic controls.
>
> For compound or really complex controls, the three letters are not
> really important.
>
> Regards,
>
> --
> Benoît Minisini
>

So I'm on the wrong way.

I believed that you wanted an easy-to-store (practically automatic) method
of standardization of the three prefix characters for controls.

Then I will limit myself to report by copying what already present in the
IDE

Regards
Gianluigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20211216/8d69eb79/attachment.htm>


More information about the User mailing list