Solved

VB6 Forms

Posted on 2011-02-23
2
313 Views
Last Modified: 2012-05-11
Hi All!

   I'm programming VB6 on Win 7.  I was wondering how when a form is brought up that forms underneath are not able to be brought back into focus.  I thought there was a configuration for that.  I tried using a MDI but that doesn't seem to make a difference.

Thanks - Zack
0
Comment
Question by:zack4x4
2 Comments
 
LVL 85

Accepted Solution

by:
Mike Tomlinson earned 500 total points
ID: 34966627
Show your form as "modal" like this:

    someFrm.Show 1

This will prevent access to the other forms until that form is dismissed.
0
 
LVL 4

Author Closing Comment

by:zack4x4
ID: 34966653
That did it thanks!!
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question