Hello,

Various mouse events are working well when handler is set on a Canvas.
Now I'd like to have a button (purely graphical) with a captive On_Click 
handler.
If I (mis-)use a sprite for that, the setting of the handler is accepted at 
compilation

    App.Sound_switch.On_Click_Handler 
(On_sound_switch_click'Unrestricted_Access);

but seems ineffective. Probably I'm doing a Bad Thing.
Would another kind of graphical object be better for the job, or is it more 
advisable to capture clicks on the whole canvas and locate eventual clicks in 
the button area (easy, but less elegant) ?

TIA
Gautier

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list

Reply via email to