PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms Only One Window per event

Reply

Only One Window per event

 
Thread Tools Rate Thread
Old 25-06-2003, 02:25 PM   #1
Manuel
Guest
 
Posts: n/a
Default Only One Window per event


Hello,

I have a form which opens a window when I click a button
on it.

However, this window will open as many times as I click
the button.

How can I prevent this user-controllable memory excess-
usage danger?

Thanks,

Manuel


  Reply With Quote
Old 25-06-2003, 02:50 PM   #2
Herfried K. Wagner
Guest
 
Posts: n/a
Default Re: Only One Window per event

Hello,

"Manuel" <mnel@mail.com> schrieb:
> I have a form which opens a window when I click a button
> on it.
>
> However, this window will open as many times as I click
> the button.
>
> How can I prevent this user-controllable memory excess-
> usage danger?


\\\
Dim f As New FormX()
f.ShowDialog(Me)
///

Regards,
Herfried K. Wagner
--
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off