[Gambas-user] Feature request

Charlie Reinl Karl.Reinl at ...9...
Mon Nov 6 20:03:50 CET 2006


Salut Rohnny,

Am Montag, den 06.11.2006, 09:58 -0800 schrieb R. Stormo:
> Wonder if there is a possibility to include both group_keypress and
> object_keypress in a later release.
> Is sometimes there would be needed to check
> sub MyGroup_keypress()
>   'Some of the elements have changed
>   haschanged=true
> end sub
> 
> 
> sub TextBox1_keypress()
>  some change specified only to this box
> 
> end sub
> sub TextBox2_keypress()
>    some change to this box.
> end usb
> 
> Does this make sense?

NO. That makes no sense. 

Use the LAST Keyword to find out which of the grouped Objects has sended
the keypress.

Usually it's LAST.TAG ,so you have to give a unique TAG to all of these
Objects grouped in 'MyGroup'.

In a groupe you can take all different kinds of components/objects, so
you have 1 SUB where the keypressed of an form is handled.

Amicalment
Charlie 
> 
> 
> Regards Rohnny 






More information about the User mailing list