> Hello
> I use Gambas2-2.21, GTK+ on Ubuntu 10.04.
> My problem is that  events DataBrowser_MouseDown, DataBrowser_DblClick do
> not work.
> 
>  
> Thanks
> With kind regards
>  
> Ivan
>  

You have just stumbled against a common Gambas problem! :-)

DataBrowser is a compound control, and so is actually a container, so the 
basic events (mouse and keyboard) have no sense for what you want.

Hopefully, DataBrowser has a View property that returns the TableView inside 
it. Then you can use the Observer class to catch the events raised by the 
TableView.

I admit this is far from perfect. I guess you need MouseDown and DblClick 
events to let the user popup a menu or activate a row, do you?

-- 
Benoît Minisini

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to