Welcome to Dream.In.Code
Become a VB.NET Expert!

Join 150,075 VB.NET Programmers for FREE! Get instant access to thousands of VB.NET experts, tutorials, code snippets, and more! There are 1,787 people online right now. Registration is fast and FREE... Join Now!




ShowDialog() or Show() help

 
Reply to this topicStart new topic

ShowDialog() or Show() help

bflosabre91
9 May, 2008 - 11:07 AM
Post #1

D.I.C Head
**

Joined: 22 Feb, 2008
Posts: 245



Thanked: 1 times
My Contributions
i need to have the same effect of ShowDialog() except i need the code on the parent form to keep executing. Are there any properties that will force a form to be top most and not allow them to give focus to any other forms? any help i would really appreciate thanks
User is offlineProfile CardPM
+Quote Post

bflosabre91
RE: ShowDialog() Or Show() Help
9 May, 2008 - 12:02 PM
Post #2

D.I.C Head
**

Joined: 22 Feb, 2008
Posts: 245



Thanked: 1 times
My Contributions
nevermind i just do a loop through all open forms and set enabled = false.
for the record, here is the code

CODE

Dim f As Form
            For Each f In My.Application.OpenForms
                f.Enabled = False
            Next


This post has been edited by bflosabre91: 9 May, 2008 - 12:04 PM
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/8/09 11:09PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live VB.NET Help!

VB.NET Tutorials

Reference Sheets

VB.NET Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month