472,378 Members | 1,158 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,378 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 14878
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: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
1
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...
0
by: jack2019x | last post by:
hello, Is there code or static lib for hook swapchain present? I wanna hook dxgi swapchain present for dx11 and dx9.
0
DizelArs
by: DizelArs | last post by:
Hi all) Faced with a problem, element.click() event doesn't work in Safari browser. Tried various tricks like emulating touch event through a function: let clickEvent = new Event('click', {...
0
by: F22F35 | last post by:
I am a newbie to Access (most programming for that matter). I need help in creating an Access database that keeps the history of each user in a database. For example, a user might have lesson 1 sent...

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.