Article View: free.it.visual-basic
Article #1557Re: shape
From: William
Date: Wed, 07 Apr 2004 07:54
Date: Wed, 07 Apr 2004 07:54
30 lines
2067 bytes
2067 bytes
"Andreij" <andreijlontanoff(hai visto mai?)@katamail.com> ha scritto nel messaggio news:NFNcc.23440$hc5.1114514@news3.tin.it... > > "Andreij" <andreijlontanoff(hai visto mai?)@katamail.com> ha scritto nel > messaggio news:2kfcc.22933$rM4.1073443@news4.tin.it... > > > > > > Potresti provare ad usare una picturebox e disegnare la linea facendo un > > > pixel alla volta cos� puoi fare la forma che vuoi. > > > Con questo codice riesco ad assegnare valori crescenti di x in modo che al > variare di HScroll1.value venga disegnato un punto nuovo( quindi la linea si > allunga), ma come faccio a fare lo stesso in decrescendo ? Voglio dire, come > si fa ad eliminare, sempre tramite la hscroll, punti dalla linea?. > > Private Sub HScroll1_Change() > > Text1.Text = HScroll1.Value > x = HScroll1.Value * 50 > Picture1.PSet (x, 100) > > End Sub > > Credo che dovresti fare un Picture1.PSet utilizzando il colore di sfondo.
Technical Details
Message-ID:
<2tOcc.114955$FJ6.4326489@twister1.libero.it>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!cyclone.bc.net!newsfeed.telusplanet.net!newsfeed.telus.net!xmission!nntp.infostrada.it!twister1.libero.it.POSTED!not-for-mailReferences:
<ZYdcc.16636$hc5.776943@news3.tin.it> <0vecc.111874$FJ6.4201402@twister1.libero.it> <2kfcc.22933$rM4.1073443@news4.tin.it> <NFNcc.23440$hc5.1114514@news3.tin.it>Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII X-Google-Thread: f94ee,68acf1d6994dc8d4 X-Google-Attributes: gidf94ee,public X-Google-ArrivalTime: 2004-04-07 00:54:39 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!cyclone.bc.net!newsfeed.telusplanet.net!newsfeed.telus.net!xmission!nntp.infostrada.it!twister1.libero.it.POSTED!not-for-mail From: "William" <willy78@libero.it> Newsgroups: free.it.visual-basic References: <ZYdcc.16636$hc5.776943@news3.tin.it> <0vecc.111874$FJ6.4201402@twister1.libero.it> <2kfcc.22933$rM4.1073443@news4.tin.it> <NFNcc.23440$hc5.1114514@news3.tin.it> Subject: Re: shape Lines: 32 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: <2tOcc.114955$FJ6.4326489@twister1.libero.it> Date: Wed, 07 Apr 2004 07:54:38 GMT NNTP-Posting-Host: 151.38.9.219 X-Complaints-To: abuse@net24.it X-Trace: twister1.libero.it 1081324478 151.38.9.219 (Wed, 07 Apr 2004 09:54:38 MET DST) NNTP-Posting-Date: Wed, 07 Apr 2004 09:54:38 MET DST Organization: [Infostrada]