🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: shape

#1556
From: Andreij
Date: Wed, 07 Apr 2004 06:59
20 lines
1750 bytes
"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
Technical Details
Message-ID: <NFNcc.23440$hc5.1114514@news3.tin.it>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed.nextoneserver.com!news-out.tin.it!news-in.tin.it!news3.tin.it.POSTED!not-for-mail
References: <ZYdcc.16636$hc5.776943@news3.tin.it> <0vecc.111874$FJ6.4201402@twister1.libero.it> <2kfcc.22933$rM4.1073443@news4.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-06 23:59:59 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed.nextoneserver.com!news-out.tin.it!news-in.tin.it!news3.tin.it.POSTED!not-for-mail
From: "Andreij" <andreijlontanoff(hai visto mai?)@katamail.com>
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>
Subject: Re: shape
Lines: 22
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: <NFNcc.23440$hc5.1114514@news3.tin.it>
Date: Wed, 07 Apr 2004 06:59:57 GMT
NNTP-Posting-Host: 82.49.23.119
X-Complaints-To: newsmaster@tin.it
X-Trace: news3.tin.it 1081321197 82.49.23.119 (Wed, 07 Apr 2004 08:59:57 MET DST)
NNTP-Posting-Date: Wed, 07 Apr 2004 08:59:57 MET DST
Organization: TIN