A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Switching from Normal to Dialog



 
 
Thread Tools Display Modes
  #1  
Old April 12th, 2010, 03:56 PM posted to microsoft.public.access.forms
chad
external usenet poster
 
Posts: 631
Default Switching from Normal to Dialog

Is there a way to have a form that is already open switch its window mode
from Normal to Dialog?

Thanks,
Chad
  #2  
Old April 12th, 2010, 04:16 PM posted to microsoft.public.access.forms
Jon Lewis[_3_]
external usenet poster
 
Posts: 40
Default Switching from Normal to Dialog

What do you want the effect of this to be?

Jon


"Chad" wrote in message
...
Is there a way to have a form that is already open switch its window mode
from Normal to Dialog?

Thanks,
Chad



  #3  
Old April 12th, 2010, 05:02 PM posted to microsoft.public.access.forms
chad
external usenet poster
 
Posts: 631
Default Switching from Normal to Dialog

I have a form that opens depending on whether a specific selection is made in
a combo box in another form. I would like to be able to run a line of code
in the On Change event of that combo box after this new form is open, but do
not want the user to be able to do anything else unless they close this new
form (hence the dialog window mode).

Any suggestions would be appreciated.

Thanks!

"Jon Lewis" wrote:

What do you want the effect of this to be?

Jon


"Chad" wrote in message
...
Is there a way to have a form that is already open switch its window mode
from Normal to Dialog?

Thanks,
Chad



.

  #4  
Old April 12th, 2010, 06:36 PM posted to microsoft.public.access.forms
Jon Lewis[_3_]
external usenet poster
 
Posts: 40
Default Switching from Normal to Dialog

You can get some 'Modularity' by using Forms!YourForm.Modal = True but not
the same as opening the Form acDialog. What you want can probably done
using Windows API functions but I would not recommend it as turning a
non-dialog form into a dialog is just not normal program flow.

HTH

"Chad" wrote in message
...
I have a form that opens depending on whether a specific selection is made
in
a combo box in another form. I would like to be able to run a line of
code
in the On Change event of that combo box after this new form is open, but
do
not want the user to be able to do anything else unless they close this
new
form (hence the dialog window mode).

Any suggestions would be appreciated.

Thanks!

"Jon Lewis" wrote:

What do you want the effect of this to be?

Jon


"Chad" wrote in message
...
Is there a way to have a form that is already open switch its window
mode
from Normal to Dialog?

Thanks,
Chad



.



 




Thread Tools
Display Modes

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 Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:37 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.