[Gambas-user] How to use events with an object in object[]?

Leonardo Miliani leonardo at ...1237...
Sun Dec 30 15:25:25 CET 2007


Laurent Carlier ha scritto:
> You need to define the event handler name with the AS keyword
> http://64.128.110.55/help/lang/as
> 
> eg:
> BlackPawn = NEW PictureBox(ME) AS "PawnBlack"
> so you got 
> PUBLIC SUB PawnBlack_MouseDown()

It works! Thanks a lot ;-)

-- 
Ciao.
Leo.

Web: www.leonardomiliani.com
E-mail: leonardo at ...1237...
Scegli software opensource - Choose opensource software




More information about the User mailing list