[Gambas-user] Gambas Help - PLEASE - Object Arrays - Need help ASAP
Doriano Blengino
doriano.blengino at ...1909...
Thu Nov 6 19:37:23 CET 2008
Rob ha scritto:
> On Thursday 06 November 2008 07:19, Robert Moss wrote:
>
>> Ok, awesome. But what is a control group and how do I use one? I can't
>> find any documentation on it
>>
>
> ' in Form_Open
> btns[0].tag = 0
> btns[1].tag = 1
>
Could also work (in the event handler):
iF LAST=btnUp ...
IF LAST=btnDown...
i.e., LAST is a reference to the object that raised the event, and you
can compare it to anything you like (probably widgets).
The tag system is another way - sometimes tags are better, sometimes
control/widget reference is.
Regards,
Doriano
More information about the User
mailing list