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  

should i hide a form or make it modal



 
 
Thread Tools Display Modes
  #1  
Old May 19th, 2010, 10:51 PM posted to microsoft.public.access.forms
Lord Kelvan
external usenet poster
 
Posts: 637
Default should i hide a form or make it modal

Quick question looking for others opinions on the subject

I develop apps for a company and up until now I have been using modal
forms to keep the most resent form open on top I have recently learnt
how to hide the access window and keep the forms visible using popup
quite neat to be honest.

My reasoning behind this is staff here use many apps but when I
present them with an app that is built using ms access they think they
cannot use it as for some reason in their heads it is harder to click
a button using a ms access app than to click a button using a non ms
access app. (PS if you hadn’t caught on my staff are incompetent and
need to be shot several times in the back of the head.) So hiding the
ms access window and using the popup property allows me to trick them
in to believing it is just as easy i.e. I don’t tell them it is a ms
access app.

In doing this now that there is no container to hold all the forms
that open one another depending on their function and I am wondering
which would be a better practice in using Multiple.

1. Would the better practice be to show and hide forms as they open
and close? i.e. the switchboard opens another form then I hide the
switchboard and when that form closes I show the switchboard again.
2. Or would the better practice be not to hide any forms and just use
modal property as I have been doing up until now?

All opinions will be much appreciated into making a decision on best
practice.

Regards
Kelvan
  #2  
Old May 19th, 2010, 11:37 PM posted to microsoft.public.access.forms
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default should i hide a form or make it modal

A "best practice" implies someone knows the "right" answer ... Then you're
stuck with having to figure out who is right?!

If what you're doing works, why change it?

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.

"Lord Kelvan" wrote in message
...
Quick question looking for others opinions on the subject

I develop apps for a company and up until now I have been using modal
forms to keep the most resent form open on top I have recently learnt
how to hide the access window and keep the forms visible using popup
quite neat to be honest.

My reasoning behind this is staff here use many apps but when I
present them with an app that is built using ms access they think they
cannot use it as for some reason in their heads it is harder to click
a button using a ms access app than to click a button using a non ms
access app. (PS if you hadn’t caught on my staff are incompetent and
need to be shot several times in the back of the head.) So hiding the
ms access window and using the popup property allows me to trick them
in to believing it is just as easy i.e. I don’t tell them it is a ms
access app.

In doing this now that there is no container to hold all the forms
that open one another depending on their function and I am wondering
which would be a better practice in using Multiple.

1. Would the better practice be to show and hide forms as they open
and close? i.e. the switchboard opens another form then I hide the
switchboard and when that form closes I show the switchboard again.
2. Or would the better practice be not to hide any forms and just use
modal property as I have been doing up until now?

All opinions will be much appreciated into making a decision on best
practice.

Regards
Kelvan


  #3  
Old May 19th, 2010, 11:47 PM posted to microsoft.public.access.forms
Lord Kelvan
external usenet poster
 
Posts: 637
Default should i hide a form or make it modal

i am thinking of changing it because it doesnt feel right (and i use
that term loosly) with the forms in modal and i am leaning towards
show and hiding forms and i am more wondering if that is an ok thing
to do from a programming point of view.

Regards
Kelvan
  #4  
Old May 20th, 2010, 12:11 AM posted to microsoft.public.access.forms
Jeanette Cunningham
external usenet poster
 
Posts: 2,190
Default should i hide a form or make it modal

Showing and hiding forms is a very common thing to do in programming.

One catch is that you can't show a form it if isn't already open and
hidden.
So I always include code that tests to see if the form is already loaded
before the line of code that makes that form visible.


Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia

"Lord Kelvan" wrote in message
...
i am thinking of changing it because it doesnt feel right (and i use
that term loosly) with the forms in modal and i am leaning towards
show and hiding forms and i am more wondering if that is an ok thing
to do from a programming point of view.

Regards
Kelvan



  #5  
Old May 20th, 2010, 12:19 AM posted to microsoft.public.access.forms
Lord Kelvan
external usenet poster
 
Posts: 637
Default should i hide a form or make it modal

yeah i have realised that as with the popup functionality of my
application i have to hide the switchboard inorder to display the
reports and i have already the functionality to test if isloaded as i
need that to refresh my popup forms as onactivate does not work for
these types of forms

Regards
Kelvan
 




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 08:26 PM.


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