[Gambas-user] Values between forms..
Benoit Minisini
gambas at ...1...
Sat Nov 8 16:24:26 CET 2008
On samedi 8 novembre 2008, birchy wrote:
> Doriano Blengino wrote:
> > I suppose that that option does what you
> > want... or I am missing something?
>
> Yes, it does exactly what i want. The reason i asked if it could be set as
> default is because MOST projects need to reference form controls from class
> modules. Making them public at all times doesn't appear to have any bad
> effects...and we could always make them private by using Options. It is
> purely an efficiency thing - i would guess that the majority of projects
> need the controls Public, and therefore the Options should reflect that.
>
> You could also say i'm lazy. =^D
This option is there only for helping porting old VB programs to Gambas.
Otherwise, making all controls public is a stupid thing. One of the rules of
good programming is making the less possible things public, not the most.
Regards,
--
Benoit Minisini
More information about the User
mailing list