473,508 Members | 2,412 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Why won't my code pause?

I'm opening a form using the "dialog" windows mode but the code in the
calling form carries on running after the called form opens. I thought that
the dialog windows mode argument of the OpenForm method was supposed to halt
the code until the called form closes - have I got this wrong?

Thanks.

Keith.
Feb 15 '07 #1
2 2172
"Keith Wilby" <he**@there.comwrote in message
<45**********@glkas0286.greenlnk.net>:
I'm opening a form using the "dialog" windows mode but the code in
the calling form carries on running after the called form opens. I
thought that the dialog windows mode argument of the OpenForm method
was supposed to halt the code until the called form closes - have I
got this wrong?

Thanks.

Keith.
Could it be that the form alredy is open, but not visible?

--
Roy-Vidar
Feb 15 '07 #2
"RoyVidar" <ro*************@yahoo.nowrote in message
news:mn***********************@yahoo.no...
"Keith Wilby" <he**@there.comwrote in message
<45**********@glkas0286.greenlnk.net>:
>I'm opening a form using the "dialog" windows mode but the code in
the calling form carries on running after the called form opens. I
thought that the dialog windows mode argument of the OpenForm method
was supposed to halt the code until the called form closes - have I
got this wrong?

Thanks.

Keith.

Could it be that the form alredy is open, but not visible?
Hi Roy, sorry, I realised what was wrong the moment I pressed "send" on this
posting. I had a rogue "acDesign" argument in my calling code (even though
the form was opening normally). Working fine now. Thanks.

Regards,
Keith.
Feb 15 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1858
by: Andrew | last post by:
When will .NET have a low-pause-time garbage collector A low-pause-time garbage collector would greatly improve .NET's ability to serve as a platform for soft real-time systems. It doesn't have...
5
4112
by: Brian.Steele | last post by:
Greetings everyone. See http://www.spiceisle.com/cgi-bin/slideshow/slideshow.cgi?dir=brian/personal/2005/uk_trip/images&type=jpg The "Pause" button works in IE, but not in Firefox. Any ideas...
6
4981
by: Protoman | last post by:
I'm trying to print a string, and cout isn't printing it; here's my code: #include <iostream> #include <cstdlib> #include <string> #include <cctype> using namespace std; namespace
3
2908
by: jdph40 | last post by:
In Access 2002, I designed a simple database for our Safety department to enter results of a survey. There are 41 true/false statements. I have a main form called frmSurvey with a subform called...
2
1614
by: CR | last post by:
having a problem with the final strcpy of filename from *argv into a structure containing an array with 20 elements called fname It seems that strcpy & strncpy aren't stopping after null is found...
11
39855
by: Paminu | last post by:
Is there something like system("PAUSE") for linux?
10
1306
by: Protoman | last post by:
Can you help me figure out why this integer printing program won't compile? I've looked far and wide in my diagnostics to figure out why, but I'm lost. Here's the code: #include <iostream>...
2
2259
by: eSolTec, Inc. 501(c)(3) | last post by:
Thank you in advance for any and all assistance. Is there a way to start, pause and resume a recurrsive search exactly where you left off, say in the registry programmatically? -- Michael Bragg,...
10
2457
by: Mythmon | last post by:
I am trying to make a program that will basically simulate a chess clock in python. To do this I have two threads running, one that updates the currently running clock, and one that watches for a...
2
2610
by: bmerlover | last post by:
How do I use a PAUSE in .NET Framework using C++ (Visual Studio .NET 2003). I know it's system("pause") in the dos version. But I don't know what it is in the GUI version. I tried...
0
7224
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7118
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7323
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7379
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
5049
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4706
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3192
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3180
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
763
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.