PC Review


Reply
Thread Tools Rate Thread

Create a window that is locking all underlying windows?

 
 
Lars Netzel
Guest
Posts: n/a
 
      4th Jun 2004
How do I set so that a window (like a settings window) is locking all the
other stuff in the application and you need to close that befor eyou can use
the stuff behind?

regards/
Lars Netzel


 
Reply With Quote
 
 
 
 
Alex Papadimoulis
Guest
Posts: n/a
 
      4th Jun 2004
Lars,

That's called a Modal window and can be created using the ShowDialog method.

dim myModal as New Form1
myModal.ShowDialog()
MsgBox("This line will execute only after myModal is closed")

-- Alex Papadimoulis

"Lars Netzel" <[stop_spam]@host.topdomain> wrote in message
news:e%(E-Mail Removed)...
> How do I set so that a window (like a settings window) is locking all the
> other stuff in the application and you need to close that befor eyou can

use
> the stuff behind?
>
> regards/
> Lars Netzel
>
>



 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      4th Jun 2004
* "Lars Netzel" <[stop_spam]@host.topdomain> scripsit:
> How do I set so that a window (like a settings window) is locking all the
> other stuff in the application and you need to close that befor eyou can use
> the stuff behind?


\\\
Dim f As New Form1()
f.ShowDialog()
f.Dispose()
///

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to create a game with underlying numbers like jeopardy? microsoft game Microsoft Word Document Management 1 23rd Sep 2008 12:10 PM
How do I hide the windows log on window after locking my computer =?Utf-8?B?QW51cmFn?= Windows XP Basics 0 12th Jul 2007 08:26 AM
Modal Window Locking Only Immediate Parent Window CodeChamp Microsoft Dot NET Framework 1 19th May 2007 12:03 AM
form can't update after its underlying query's underlying table are splited tang.yifan@gmail.com Microsoft Access Forms 0 21st Sep 2006 03:15 PM
How do I create character styles that do not alter underlying form =?Utf-8?B?RmlzaA==?= Microsoft Word Document Management 0 3rd Mar 2005 02:55 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:38 AM.