Autore Topic: Come verificare il clic destro e sinistro su TrayIcon  (Letto 293 volte)

Offline vuott

  • Moderatore globale
  • Senatore Gambero
  • *****
  • Post: 11.292
  • Ne mors quidem nos iunget
    • Mostra profilo
Come verificare il clic destro e sinistro su TrayIcon
« il: 22 Gennaio 2014, 05:58:14 »
Riporto questa discussione apparsa nella M.L. ufficiale:


" I'm using Gambas 3.5.1 on Debian jessie (Gnome 3.8.4) and I was wondering
 how can one detect a left or right click on the TrayIcon control.

 What do I need to do that? Can anyone give me some pointers?

 Thanks in Advance

 Sincerely
 Dimitris
"


" The TrayIcon object raises mouse events.

--
Benoît Minisini
"


" Thanks for the tip. I was able to use the MouseDown event on the Trayicon
object to popup different menus on left and right click which is what I really wanted.

Dimitris
"
« Chiunque, non ricorrendo lo stato di necessità, nel proprio progetto Gambas fa uso delle istruzioni Shell o Exec, è punito con la sanzione pecuniaria da euro 20,00 a euro 60,00. »