[Gambas-user] Control groups

Grahame White grahame at ...457...
Tue May 25 19:54:54 CEST 2004


>
> Hem this is the correction.
>
> Before you use a local variable... It is just available in the form_open
> sub...
> Here you need a global variable, but we can't use static array here.
>
> So i've created a class dynamic array by :
>
> public Board as New Object[]
>
>
> After in the sub i've resized it by :
>
> Board.Resize(100)
>
> That's all Folks
>
> Regards,
>
> Fabien Bodard
>

Ahh, thanks. I didn't notice the .resize method, much easier (and faster) 
than looping and adding one object at a time :)

Thanks again

Grahame




More information about the User mailing list