[Gambas-user] Problem with collective event procedure
Dominique SIMONART
simonart.dominique at ...11...
Wed Dec 12 10:17:33 CET 2007
Hi everybody,
Gambas 1.9.91 OpenSuse 10.3 Kde
I'm using an array of picturebox so I write this
PUBLIC CardImg AS NEW Object[]
and in form_Open
For C = 0 to 51
CardImg[C] = NEW PictureBox(ME) AS "Images"
.
.
Next
Then I wrote the associated procedure like this
PUBLIC PROCEDURE Images_Click()
something
END
This doesn't work, but if you change Click() by MouseDown(), like this
PUBLIC PROCEDURE Images_MouseDown()
something
END
it works! So this is an easy workaround, but the sample in the doc show
the _Click() way!
Am I missing something?
regards
Dominique
More information about the User
mailing list