[Gambas-user] A mess with modules, classes and access

Eilert eilert-sprachen at ...221...
Fri Feb 4 17:12:40 CET 2005


I know,

phiber schrieb:
> Project < Properties <Properties tab> <check Form controls are public>

and I tried that, but it only acts when I put my functions which have to 
have access to the Drawing Area into a class, not a module. From a 
module, I still do not have access to it. But when I put them into a 
class file, the form (say: the code in the class file with the Drawing 
Area) does not have access to the functions in the other class...

So it seems to me that the only way of doing it right here in Gambas is 
to put every function/procedure that has to have access to the Drawing 
Area into the class file of the Drawing Area itself. Only those 
functions which act for themselves can be put somewhere else, but only 
into a module, because otherwise you loose access to them.

Is that correct? And is it intended to be so?

Rolf






More information about the User mailing list