Re: how to catch a click onto a non editabl text cell in a TreeView?



On Fri, Jan 23, 2004 at 08:52:16AM -0500, muppet wrote:
this means you need to allow propagation in your event handler.  if you 
trap an event for exactly the right cell, return true to stop 
propagation, if it's not yours, return false to let the default 
handlers run.
dont 'want ot get on anyone's nerves :D but :
i don't know how to find out on which cell actually the event occurred
since the x,y coords don't tell me much about that... 

nor how to propagate an event...

have you looked at Tim-Philipp Müller's excellent treeview tutorial?  
http://scentric.net/tutorial/
nop, looks interesting i will look that through!

i'm sure it explains something like this.

indeed:
http://scentric.net/tutorial/sec-selections-double-click.html
uhm that's the example i allready had: it tells only on which row the
clock occurred, not on which cell, and it doesn't propagate the event
...


-- 
ciao bboett
==============================================================
bboett adlp org
http://inforezo.u-strasbg.fr/~bboett
===============================================================



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]