[Gambas-devel] Passing things

Ken Schrock schrockk at ...26...
Sun May 11 03:35:44 CEST 2003


I am having trouble passing data between objects, classes, forms, etc.

To add an element to a listbox
Pop up a new form for entry, ok so far

But in Form2 if one tries to pass data to Form1 with
Form1.Listbox1.Add(whatever) it says it can't find ListBox1
It appears the controls, if created by the IDE, aren't made public
And there seems to be no option in the properties box to do so

Call a public function - Says it isn't static - Make it static
It says you can't use dynamic things in a static function

Ok guys, give me a hint here

-- 
Using Lindows 






More information about the Devel mailing list