🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: free.it.visual-basic
Article #3385

Eventi tastiera

#3385
From: track
Date: Tue, 09 Jul 2002 13:38
21 lines
1470 bytes
Ciao ,
avrei bisogno di un aiuto, sto creando un gioco, e dovrei spostare una
immagine a destra e a sinistra (premendo il tasto "z" a sinistra, e premendo
il tasto "c" a destra).
ho provato ad usare la funzione keyPess

.....
keyz = 122
.....

Private Sub Form_KeyPress(Keyz As Integer)
            img1.Left = img1.Left + 5
End Sub
.........


Non so come inserire l'evento per far spostare l'immagine a destra.

 il codice keyc � 99 (codice ascii di "c")

Grazie anticipatamente
Technical Details
Message-ID: <BHBW8.15415$7N3.340069@twister2.libero.it>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-08!supernews.com!news.infoave.net!skynet.be!skynet.be!news.mailgate.org!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII
X-Google-Thread: f94ee,d6ae68c2795a41cb,start
X-Google-Attributes: gidf94ee,public
X-Google-ArrivalTime: 2002-07-09 06:39:41 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-08!supernews.com!news.infoave.net!skynet.be!skynet.be!news.mailgate.org!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail
From: "track" <C-G-S@libero.it>
Newsgroups: free.it.visual-basic
Subject: Eventi tastiera
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
Message-ID: <BHBW8.15415$7N3.340069@twister2.libero.it>
Date: Tue, 09 Jul 2002 13:38:41 GMT
NNTP-Posting-Host: 151.28.132.116
X-Complaints-To: abuse@libero.it
X-Trace: twister2.libero.it 1026221921 151.28.132.116 (Tue, 09 Jul 2002 15:38:41 MET DST)
NNTP-Posting-Date: Tue, 09 Jul 2002 15:38:41 MET DST
Organization: [Infostrada]