Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > it.comp.java > #9314

Re: etichetta invisibile

From "Dr.UgoGagliardelli" <do.not.spam@me.please>
Newsgroups it.comp.java
Subject Re: etichetta invisibile
Date 2019-08-29 18:11 +0200
Organization Aioe.org NNTP Server
Message-ID <qk8thf$1iud$1@gioia.aioe.org> (permalink)
References <qk8g8m$1l51$1@gioia.aioe.org>

Show all headers | View raw


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

Back to it.comp.java | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

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