Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| Path | csiph.com!aioe.org!.POSTED.D/yWLgg4/J3ZIv1oe1tc3Q.user.gioia.aioe.org!not-for-mail |
|---|---|
| From | "Dr.UgoGagliardelli" <do.not.spam@me.please> |
| Newsgroups | it.comp.java |
| Subject | Re: etichetta invisibile |
| Date | Fri, 30 Aug 2019 16:47:55 +0200 |
| Organization | Aioe.org NNTP Server |
| Lines | 27 |
| Message-ID | <qkbd16$goq$1@gioia.aioe.org> (permalink) |
| References | <qk8g8m$1l51$1@gioia.aioe.org> <qk8thf$1iud$1@gioia.aioe.org> <qk9f3v$3eo$1@gioia.aioe.org> |
| NNTP-Posting-Host | D/yWLgg4/J3ZIv1oe1tc3Q.user.gioia.aioe.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=iso-8859-15; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Complaints-To | abuse@aioe.org |
| User-Agent | Mozilla/5.0 (Windows NT 6.3; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
| X-Antivirus | Avast (VPS 190830-2, 30/08/2019), Outbound message |
| X-Notice | Filtered by postfilter v. 0.9.2 |
| X-Antivirus-Status | Clean |
| Content-Language | it-IT |
| Xref | csiph.com it.comp.java:9319 |
Show key headers only | View raw
Il 29.08.2019 23.12, Gioacchino ha scritto: > Il 29/08/2019 18:11, Dr.UgoGagliardelli ha scritto: >> Il 29.08.2019 14.25, Gioacchino ha scritto: >>> Vorrei mettere su una maschera una label non visibile,ma in una >>> posizione nota. Cliccandoci sopra TENENDO PREMUTO UN TASTO, ESEMPIO >>> CTRL , mi fa comparire un menu' segreto. >>> >>> Ho difficoltà a scrivere (gestire) l'evento "clic+ tasto CTRL" premuto >>> >>> >>> Grazie >> L'evento MouseEvent ha il metodo getModifiers() ereditato da >> InputEvent, se contiene CTRL_DOWN_MASK significa che il mouse e' stato >> clikkato con il tasto ctrl giu'. Per cui il test diventa: >> (event.getModifiers() & InputEvent.CTRL_DOWN_MASK) == >> InputEvent.CTRL_DOWN_MASK > > grazie > > PS: il codice intercetta anche la pressione del tasto "ALT GR" ( perchè > suppongo corrisponde alla pressione di due tasti CONTROL + ALT ): si può > escludere tale tasto ALT GR ? Non saprei, provaci. Tutti i modificatori sono costanti della classe InputEvent e vengono messi in or. Nella classe MouseEvent c'e' il metodo paramString(), che per scopo diagnostico stampa l'evento ed i suoi attributi.
Back to it.comp.java | Previous | Next — Previous in thread | Find similar
etichetta invisibile Gioacchino <vannnnia1991@gmail.com> - 2019-08-29 14:25 +0200
Re: etichetta invisibile "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2019-08-29 18:11 +0200
Re: etichetta invisibile Gioacchino <vannnnia1991@gmail.com> - 2019-08-29 23:12 +0200
Re: etichetta invisibile "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2019-08-30 16:47 +0200
csiph-web