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


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to