Article View: free.it.visual-basic
Article #1705Re: Tasto destro del mouse
From: Cerberus1981
Date: Thu, 19 Feb 2004 20:48
Date: Thu, 19 Feb 2004 20:48
31 lines
2014 bytes
2014 bytes
"CTS ROMA" <cts.roma@tiscali.it> ha scritto nel messaggio
news:c10qcu$qhh$1@lacerta.tiscalinet.it...
>
> Ti ringrazio ma questo che mi dici l'ho gi๏ฟฝ provato senza successo.
> Purtroppo al premere il tasto destro del mouse non riesco a non far venire
> la classica
> tendina con : copia, incolla, taglia ecc..
> Solo dopo aver selezionato qualcosa riesco ad intercettare l'evento con
uno
> dei metodi sopra citati.
> Questo accade solo se clikko su una textbox, quindi devo far qualcosa per
> dire al programma che il
> tasto destro del mouse non esiste o non so che altro.
> Scusa la mia poca competenza.
prova a creare un men๏ฟฝ, copia,taglia & incolla
ipotizziamo
Modifica
Taglia
Copia
Incolla
infine quando premi il tasto dx sull'oggetto:
private sub Oggetto_MouseDown
if button=2 then
popupmenu (modifica)
end if
End Sub
Ciao
Cerberus
Technical Details
Message-ID:
<fi9Zb.345662$_P.11845818@news4.tin.it>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.wirehub.nl!solnet.ch!solnet.ch!irazu.switch.ch!switch.ch!newsfeed.nextoneserver.com!news-out.tin.it!news-in.tin.it!news4.tin.it.POSTED!not-for-mailReferences:
<c0u068$8n7$1@lacerta.tiscalinet.it> <bvMYb.336173$_P.11556743@news4.tin.it> <c10qcu$qhh$1@lacerta.tiscalinet.it>Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII X-Google-Thread: f94ee,1b038470be755fef X-Google-Attributes: gidf94ee,public X-Google-ArrivalTime: 2004-02-19 12:48:13 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.wirehub.nl!solnet.ch!solnet.ch!irazu.switch.ch!switch.ch!newsfeed.nextoneserver.com!news-out.tin.it!news-in.tin.it!news4.tin.it.POSTED!not-for-mail From: "Cerberus1981" <cerberus1981@tin.it> Newsgroups: free.it.visual-basic References: <c0u068$8n7$1@lacerta.tiscalinet.it> <bvMYb.336173$_P.11556743@news4.tin.it> <c10qcu$qhh$1@lacerta.tiscalinet.it> Subject: Re: Tasto destro del mouse Lines: 33 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: <fi9Zb.345662$_P.11845818@news4.tin.it> Date: Thu, 19 Feb 2004 20:48:11 GMT NNTP-Posting-Host: 80.117.223.139 X-Complaints-To: newsmaster@tin.it X-Trace: news4.tin.it 1077223691 80.117.223.139 (Thu, 19 Feb 2004 21:48:11 MET) NNTP-Posting-Date: Thu, 19 Feb 2004 21:48:11 MET Organization: TIN