On 12.7.2010, at 18:27, Alfred Van Hoek wrote: > > On Jul 12, 2010, at 2:03 PM, Björn Eiríksson wrote: > >> So this whole mess on the MouseDrag change made me think is there any >> sanctioned >> way for a plugin to wire up a event on a class that it creates or do I have >> to go through unsanctioned ways ? >> >> Example case would be if a plugin creates instance of a timer, then it would >> want to wire up the timer event. > > > Not sure, but if you would use the MouseMoveHandler, and you have set a flag > mouseStillDown using MouseDown/mouseUP then you would have the mousedrag even > when the mouse is not moved... > > Alfred
Would that not just hang the UI thread ? i am able to create a timer and have it fire events. (using unsanctioned ways to hookup the event since there are just some things they still have not exposed in the SDK making many things officially impossible for plugins to be officially sanctioned) Have another issue though, also relating to the same, if i make a Timer in Grid1 then I have no good way of knowing which grid owns that particular timer, in the documentation for timer there seems to be no data on how to hookup extra data to it, so basically the Grid has no idea if instance Grid1, Grid2 or Grid3 owns the damn thing. -- ______________________________________________________________________ Björn Eiríksson [email protected] Einhugur Software http://www.einhugur.com/ ______________________________________________________________________ Einhugur Software has sold its products in 57 countries world wide. ______________________________________________________________________ For support: [email protected] To post on the maillist: [email protected] _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
