473,395 Members | 1,527 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Pop Up or Modal

DS
Anyone know the difference between the 2 and/or what the different
combinations of them produce.
Thanks
DS
Nov 13 '05 #1
5 15056
Hello, DS. From my limited experience of using either of these forms,
it seems that a pop-up form is mostly to convey information to the
user. I have used modal forms to ensure strict guidelines are followed
by the user. For example: I had a modal form in which I wanted an
automated sequential number to appear. To be able to use the number
again in the event that the user did not use the form, the number was
discarded and used the next time the form was opened. If the user
entered valid data on the form, the number would then be added to a
table so the next number could be used. By using a modal form, they
had only one way out. I turned of the close form button and the resize
buttons. It had only two buttons connected to CBF. The buttons were
Cancel or OK. If they pressed the OK button, the form would validate
the entry and determine if the automated number was used. If they used
the Cancel button, it simply closed the form.
I'll be back to see if this helped you any.
FlSteve

Nov 13 '05 #2
A pop-up form allows you to go back to the first form while with a modal
form you must close the form or make it not visible before you can go back
to the original form.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com
"DS" <bo******@optonline.net> wrote in message
news:Rn****************@fe08.lga...
Anyone know the difference between the 2 and/or what the different
combinations of them produce.
Thanks
DS

Nov 13 '05 #3
The relationship between these two properties is quite complex.

The best way to understand them is:-
Create two forms (Form1 and Form2)
Put a command button on Form1 which opens Form2 (DoCmd.OpenForm "Form2")
Change these two properties in a logical manner observing the
relationship between the two forms

--
Terry Kreft
MVP Microsoft Access
"DS" <bo******@optonline.net> wrote in message
news:Rn****************@fe08.lga...
Anyone know the difference between the 2 and/or what the different
combinations of them produce.
Thanks
DS

Nov 13 '05 #4
A popup form stays on top of all forms opened.

This is good for wizard type stuff, or perhaps some clock display that you
want on top of all forms at all times.

As for model forms?

When a model form is opened, it naturally is on top of the form that
launched it. (but, any popup still remains on top of everything).

The model form MUST be close to get back to the previous form. So, if 1
model form opens another, and that opens another..then the users is forced
BACK the same way. So, model forms do stack up on top of each other.
However, a popup form remains on top of all forms

Often, a lot of my forms are model, since they force the user to finishes up
the current form, and then close it to return to where they came from.

In addition to model, and popup, there is also a 3rd type of form called
acDialog. acDialog forms are very different them model forms, and also very
different then popup forms.

You can read about them here:

Building dialog and prompt forms in ms-access.
By Albert D. Kallal
Friday, June 04, 2004
http://www.members.shaw.ca/AlbertKal...log/Index.html

--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pl*****************@msn.com
http://www.members.shaw.ca/AlbertKallal

Nov 13 '05 #5
DS
Albert D. Kallal wrote:
A popup form stays on top of all forms opened.

This is good for wizard type stuff, or perhaps some clock display that you
want on top of all forms at all times.

As for model forms?

When a model form is opened, it naturally is on top of the form that
launched it. (but, any popup still remains on top of everything).

The model form MUST be close to get back to the previous form. So, if 1
model form opens another, and that opens another..then the users is forced
BACK the same way. So, model forms do stack up on top of each other.
However, a popup form remains on top of all forms

Often, a lot of my forms are model, since they force the user to finishes up
the current form, and then close it to return to where they came from.

In addition to model, and popup, there is also a 3rd type of form called
acDialog. acDialog forms are very different them model forms, and also very
different then popup forms.

You can read about them here:

Building dialog and prompt forms in ms-access.
By Albert D. Kallal
Friday, June 04, 2004
http://www.members.shaw.ca/AlbertKal...log/Index.html

Thank You for your In-Depth look at the 2.
DS
Nov 13 '05 #6

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

Similar topics

2
by: Patrick Lim | last post by:
Here is the problem: I have written a non-modal frame class in Java for displaying help text when a user is using an application. It works as desired in that if the user selects "help" again,...
2
by: martin de vroom | last post by:
Hi, I have a web page that opens a modal dialog (client side) in the following manner onclick="window.showModalDialog('/dialog.asp',null,'dialogHeight: 200px; dialogWidth: 400px; dialogTop:...
1
by: amith | last post by:
Hi, I have a javascript, calendar.js which i use to enable my client to select the date. This calendar pops up on the click of a gif image. But the problem is that this poped up window is not...
2
by: Gilles T. | last post by:
Hi, How I can refresh a modal dialog in asp.net? I open a modal dialog in first with a dropdownlist. To add a element in my dropdownlist (table), I open a second modal dialog to ask element and...
4
by: Paul Aspinall | last post by:
Can anyone advise how to display a form on top, and modal, without using ShowDialog?? Thanks
2
by: cassidyc | last post by:
Hi, I was wondering if anyone has come accross this issue? And if they have any solutions I have that can create new copies of itself Form1 as = new form1(); af.show(); This form can also...
5
by: CaptainZ | last post by:
When I open a modal window using 'showModalDialog' from an aspx page it works fine. But when I then perform a submit in my modal window to get data from the server, instead of the page returning to...
10
by: Guadala Harry | last post by:
I have a modal dialog that currently does all of the following except item 4. 1. lets users select a graphic from a list of thumbnails (and when selected, displays the full-size image in a...
2
by: sthrudel | last post by:
Hi! I'm working on a web application in Asp.net and what I would like to have is a cross borwser modal dialog which accepts user's input. I would like to catch what the user clicked on the...
2
by: Mike | last post by:
Hi, I'm having a problem with modal forms on windows. I've written a very short test program, with a main window and a form called from the main window. The form is set to modal with...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
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
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,...

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.