[Gambas-user] menu button events Q

richard terry rterry at ...1946...
Sat Dec 12 04:46:54 CET 2009


On Friday 11 December 2009 22:38:06 you wrote:
> > I've a menu button and want to be able to detect a right mouse click over
> >  the text of the button.
> >
> > None of the events seem intereceptable in the usual way in code, and
> >  creating an observor on the button and using stop events dosn't seem to
> >  work either (gambas3 + qt4).
> >
> > Is there something special about this button?
> 
> Yes, it is actually a compound control including one button for the picture
> and another one for the little arrow.
> 
> Why do you need to catch mouse events on this button?
> 
Hi Benoit, I've just been extending the utility of the webview example for 
myprogram -

several , 1 to directly access cdc travel medicine just by typing a country 
name into the txtURL, to include a google textbox, and  
to allow user to create bookmark folders on a toolbar under the txtURL

I wanted to exactly emulate what firefox does, which is allow the user to 
rightmouse click on the folder > menu, as well as allowing click on the folder 
> drop down menu.

Anyhow, I've found a way around it using an observor, so if/when I get it 
working properly I'll send you the code to see if you want to include it in 
the demo.

Regarding keeping bookmarks, is there an accepted place to put them?, or just 
a settings file?

Also, any timeline on the print from webview?

Regards

richard


Regards

richard




More information about the User mailing list