🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: far comparire una form

#3654
From: Roscio
Date: Wed, 22 May 2002 10:28
25 lines
1709 bytes
"�������*~-=Mr.P�s�h�!=-~*�������" <illustrissimo@libero.it> wrote in
message news:8GxG8.1626$lK5.31970@twister2.libero.it...
> Come faccio tramite la pressione di un tasto a far comparire e scomparire
> una form? (hide e show)

Nell'evento Tasto_Click scrivi:


If Form2.Visible Then
    Form2.Hide
    Tasto.Caption = "Mostra Form2"
Else
    Form2.Show
    Tasto.Caption = "Nascondi Form2"
End If


Ci ho aggiunto una finezza: quando la finestra �
nascosta il tasto visualizza la scritta "Mostra Form2";
quando � visibile, il tasto visualizza la scritta
"Nascondi Form2". Pi� chiaro di cos�... :-)))

--
Er Roscio.
Technical Details
Message-ID: <VoKG8.354$z87.4293@twister2.libero.it>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!news.tele.dk!small.news.tele.dk!212.177.105.133!news.mailgate.org!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail
References: <8GxG8.1626$lK5.31970@twister2.libero.it>

Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII
X-Google-Thread: f94ee,424f2ad1f450ca95
X-Google-Attributes: gidf94ee,public
X-Google-ArrivalTime: 2002-05-22 03:28:08 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!news.tele.dk!small.news.tele.dk!212.177.105.133!news.mailgate.org!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail
From: "Roscio" <sergint@libero.it>
Newsgroups: free.it.visual-basic
References: <8GxG8.1626$lK5.31970@twister2.libero.it>
Subject: Re: far comparire una form
Lines: 28
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: <VoKG8.354$z87.4293@twister2.libero.it>
Date: Wed, 22 May 2002 10:28:05 GMT
NNTP-Posting-Host: 151.29.33.238
X-Complaints-To: abuse@libero.it
X-Trace: twister2.libero.it 1022063285 151.29.33.238 (Wed, 22 May 2002 12:28:05 MET DST)
NNTP-Posting-Date: Wed, 22 May 2002 12:28:05 MET DST
Organization: [Infostrada]