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

Fabien Bodard gambas.fr at gmail.com
Thu Dec 16 09:46:46 CET 2021


Le jeu. 16 déc. 2021 à 02:26, Martin Belmonte <mbelmonte at belmotek.net> a écrit :
>
> El 15/12/21 a las 23:12, Gianluigi escribió:
> > I see inconsistencies for example (iconview, imageview, ... View, ...
> > Chooser, ... Box)
> >
> > I believe that the prefixes should be reduced to a minimum and should
> > follow all the same logic.
> > Unlike the chaos would be created.
> >
> > Tell me if I have to continue or pass your hand.
> I think is better work only in variables, not in controls (I try to do
> in the past)

I think too, because there is sooo many control that 3 letter is not
enouth now. The naming convention for control is mainly for the main
gambas IDE source and shared components to ensure a better
understanding of all the part.

But anyone can use it's own naming convention charter.

It remember me that a usefull option could be a Charter system.

for example with this option :
- Naming on putting objects on form will be mandatory (and suggest the
convention prefix and or suffix)
    by popup an input form or an integrated textbox.
- Object properties like color or style can be part of the charter

A charter option dialog can allow to define all of these.



> Regards.
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----



-- 
Fabien Bodard


More information about the User mailing list