๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: aiuto timer

#228
From: wizard2000
Date: Thu, 23 Aug 2007 10:08
16 lines
1300 bytes
MM <giusepperubini@fastwebnet.it> ha scritto:

> mi serve aiuto.. devoi creare un timer in visaul basic che dopo 2 
secondi
> dal click su un tasto si deve attivare e deve eseguire un comando come
> fare??
> 

Inserisci un Timer nel Form.
Imposta Timer.Enabled=False e Timer.Intervall=2000

Nell'evento Click del pulsante inserisci:
Timer.Enabled=True

e allo scadere del tempo si attiver๏ฟฝ in modo automatico l'evento 
Timer_Timer.
Technical Details
Message-ID: <2007082310084920656@mynewsgate.net>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!198.186.194.247.MISMATCH!news-out.readnews.com!news-xxxfer.readnews.com!198.186.190.42.MISMATCH!mynewsgate.net!not-for-mail
References: <CphJh.14788$o%.5069@tornado.fastwebnet.it>

Show Full Headers
Complete Article Headers
X-Google-Thread: f94ee,e0f77df688ef3802
X-Google-Attributes: gidf94ee,public,usenet
X-Google-Language: ITALIAN,ASCII
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!198.186.194.247.MISMATCH!news-out.readnews.com!news-xxxfer.readnews.com!198.186.190.42.MISMATCH!mynewsgate.net!not-for-mail
From: "wizard2000" <20656invalid@mynewsgate.net>
Newsgroups: free.it.visual-basic
Subject: Re: aiuto timer
Message-ID: <2007082310084920656@mynewsgate.net>
References: <CphJh.14788$o%.5069@tornado.fastwebnet.it>
Date: Thu, 23 Aug 2007 10:08:49 GMT
X-Newsreader: www.mynewsgate.net
X-Complaints-To: abuse@mynewsgate.net
NNTP-Posting-Host: 88.35.45.216
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
Lines: 16