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

Eilert eilert-sprachen at ...221...
Tue Feb 8 08:56:22 CET 2005


Rob schrieb:
> On Friday 04 February 2005 11:12, Eilert wrote:
> 
>>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.
> 
> 
> This is not true.... the Project module in the Gambas IDE itself 
> refers to members of classes all the time, and in fakebas I even 
> refer to controls on forms from the Project module.  Wanna post 
> your code?
> 
> Rob


Strange, very strange... I just wanted to have a look at the code to 
give some comment when sending it to you. Suddenly the thing worked 
perfectly. Maybe there was something wrong in my changing from module to 
class and back. Or Gambas was running wrong, though I tried to restart 
it then and it still wouldn't go.

Ok, I know now that it should run :-) I'll keep an eye on it and be back 
when I encounter any more strange things.

Thanks for your help.

Rolf





More information about the User mailing list