[Gambas-user] Trapping events from dynamically created controls....

sbungay sbungay at ...981...
Wed Feb 21 15:56:23 CET 2007


   I knew what you meant.  Thx.

Benoit Minisini wrote:
> On mardi 20 février 2007, Benoit Minisini wrote:
> 
>>On mardi 20 février 2007, sbungay wrote:
>>
>>>   Thank you Timothy!
>>>
>>>   I was appending an index number to the end of the button name like so
>>>
>>>bh = NEW Button(LAST) AS "SkillButton" & CSTR(IndexID)
>>>
>>>   My thinking was that the button names all had to be unique. Wrong
>>>wrong.
>>>
>>>   Benoit, how can Gambas allow us to create controls on the fly that
>>>all have the same name when the IDE does not?
>>
>>The IDE does. It just names that "control group".
>>
>>
>>>It gives me the results I
>>>want and that's great, now I'm just wondering how this works internally.
>>
>>Every gambas object has an "event name" that is just used at object
>>creation, and that is forgotten after.
>>
>>Moreover, every gambas name... 
> 
> 
> Sorry, read "every gambas control" instead!
> 




More information about the User mailing list