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  

Docmd.maximize causes form 'flicker'



 
 
Thread Tools Display Modes
  #1  
Old December 15th, 2004, 11:47 PM
mscertified
external usenet poster
 
Posts: n/a
Default Docmd.maximize causes form 'flicker'

I need to display a form as always maximized so I put docmd.maximize in the
open event. However, this appears to cause the form to display twice in quick
succession and it looks really bad. I tried making the form invisible before
the maximize then visible afterwards but this seemed to have no effect. Is
there any way to fix this so the screen displays smoothly.
  #2  
Old December 16th, 2004, 01:51 PM
Brendan Reynolds
external usenet poster
 
Posts: n/a
Default

Use Echo.False before changing the size of the form, and Echo.True
afterwards. Make sure that your error handling is good, you need to be
careful that Echo is set back to True if an error occurs. (Make sure you do
this *before* displaying any message boxes, or the user will never see
them). This won't eliminate flicker completely, but it will minimize it. The
flicker is also much more noticeable if the form is slow to load - if the
form loads quickly, most people will never notice the flicker. So anything
you can do to speed up the loading of the form will help.

--
Brendan Reynolds (MVP)
http://brenreyn.blogspot.com

The spammers and script-kiddies have succeeded in making it impossible for
me to use a real e-mail address in public newsgroups. E-mail replies to
this post will be deleted without being read. Any e-mail claiming to be
from brenreyn at indigo dot ie that is not digitally signed by me with a
GlobalSign digital certificate is a forgery and should be deleted without
being read. Follow-up questions should in general be posted to the
newsgroup, but if you have a good reason to send me e-mail, you'll find
a useable e-mail address at the URL above.


"mscertified" wrote in message
news
I need to display a form as always maximized so I put docmd.maximize in the
open event. However, this appears to cause the form to display twice in
quick
succession and it looks really bad. I tried making the form invisible
before
the maximize then visible afterwards but this seemed to have no effect. Is
there any way to fix this so the screen displays smoothly.



 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
modal windows AT Using Forms 3 November 21st, 2004 05:49 AM
Default values to load up automatically in a form based on value entered in another form Anthony Dowd Using Forms 8 August 12th, 2004 08:53 AM
Searching Records Melissa Lambino New Users 6 July 20th, 2004 04:51 AM
auto entry into second table after update Tony New Users 13 July 9th, 2004 10:42 PM
Passing value to modal child form in MS Access using VBA? Grahammer Using Forms 6 July 4th, 2004 11:53 PM


All times are GMT +1. The time now is 03:10 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.