[Gambas-user] Control arrays (was Creating controls at runtime)

Benoit Minisini gambas at ...1...
Fri Aug 13 00:22:48 CEST 2004


On Friday 13 August 2004 00:03, Michael Sullivan wrote:
> How would I make control arrays of my check boxes and labels?
>

This has been explained many times on the mailing-list.

DIM aLabel AS NEW Object[]
dim hLabel AS Label

hLabel = NEW Label(MyForm) AS "MyLabelName"
aLabel.Add(hLabel) ' Index 0

hLabel = NEW Label(MyForm) AS "MyLabelName"
aLabel.Add(hLabel) ' Index 1

...

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list