473,320 Members | 1,914 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,320 software developers and data experts.

Navigating between forms, flickering

Creating an application in Access with a number of "screens" which are just
forms linked together by command buttons (click button, opens new form,
closes old form).

Each form opens and maximises to take up the whole screen (My project
manager likes apps which take up the whole screen with no border).

Problem is the transition between the screens isn't very "smooth", I guess
because of the 2-stage process of opening and maximising. I get a sort of
unsightly flicker between screens.

Any suggestions on how to get round this? Alternative methods to
constructing a series of full screen forms to navigate through?

TIA

--
Scott
Nov 12 '05 #1
3 5623
Scott

Investigate the visible property of your forms.

You can load a form with visible set to No and then subsequently make it
visible ...

HTH

Jeff Bailey

"Scott" <no****@nospam.com> wrote in message
news:wp************@newsfep4-winn.server.ntli.net...
Creating an application in Access with a number of "screens" which are just forms linked together by command buttons (click button, opens new form,
closes old form).

Each form opens and maximises to take up the whole screen (My project
manager likes apps which take up the whole screen with no border).

Problem is the transition between the screens isn't very "smooth", I guess
because of the 2-stage process of opening and maximising. I get a sort of
unsightly flicker between screens.

Any suggestions on how to get round this? Alternative methods to
constructing a series of full screen forms to navigate through?

TIA

--
Scott

Nov 12 '05 #2
no****@nospam.com (Scott) wrote in
<wp************@newsfep4-winn.server.ntli.net>:
Problem is the transition between the screens isn't very "smooth",
I guess because of the 2-stage process of opening and maximising.
I get a sort of unsightly flicker between screens.


As someone has suggested, you can open the forms invisible and then
resize and then make them visible, but you could also turn off the
screen before opening and then turn it back on afterwards with:

DoCmd.Echo False
DoCmd.Echo True

OR

Application.Echo False
Application.Echo True

I tend to use Application.Echo because it seems to lead to less
flickering. I'm not sure why, exactly, but I would guess it's
because it happens at a level higher than DoCmd, but I'm not
convinced by that, either.

The only downside of this is that you have to make sure you have
error handlers in any code that turns off the screen, or your users
might think that the application has locked up if an error occurs.

In your case, if you're doing the same thing in opening all your
forms, you could write a wrapper subroutine with error handling to
do this, something like:

Public Sub FormOpen(strForm As String, _
Optional lngView As Long = acNormal, _
Optional strCriteria As String, _
Optional lngMode As Long = acWindowNormal, _
Optional strOpenArgs As String)
On Error GoTo errHandler
Application.Echo False
DoCmd.OpenForm strForm, lngView, , strCriteria, , _
lngMode, strOpenArgs

exitRoutine:
Application.Echo True
Exit Sub

errHandler:
MsgBox Err.Number & ": " & Err.Description, vbExclamation, _
"Error in FormOpen()"
Resume exitRoutine
End Sub

Now, I haven't implemented all the arguments for DoCmd.OpenForm,
and you might want to do so. But you get the idea, I think.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 12 '05 #3
As David Fenton has noted, you can use the Echo feature - but if you use
pop-up forms this has no effect so then you're driven to the invisible form
method ...

Jeff Bailey

"Scott" <no****@nospam.com> wrote in message
news:wp************@newsfep4-winn.server.ntli.net...
Creating an application in Access with a number of "screens" which are just forms linked together by command buttons (click button, opens new form,
closes old form).

Each form opens and maximises to take up the whole screen (My project
manager likes apps which take up the whole screen with no border).

Problem is the transition between the screens isn't very "smooth", I guess
because of the 2-stage process of opening and maximising. I get a sort of
unsightly flicker between screens.

Any suggestions on how to get round this? Alternative methods to
constructing a series of full screen forms to navigate through?

TIA

--
Scott

Nov 12 '05 #4

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

Similar topics

2
by: John Lee | last post by:
Hi, I have a windows application that uses the listview to display about 50 items in detailed view - 4 columns. The first column is static and other columns will be updated in 100-1000ms - it...
2
by: John Lee | last post by:
Thanks Jay for your response. I tried your code and it still flickering a lot. To demonstrate it, you can grab a listview, create 3 columns - name, value, timestamp, in form_load event to add 50...
2
by: Daveyman | last post by:
Hi, I'm having a problem navigating to/from a subweb using forms authentication. The setup in IIS is as follows: TestSite +----SecureDir +----ReportsSubWeb In VS.Net 2003 this has been...
2
by: PeteSmith | last post by:
I have an application with 2 vb.net forms and an Excel Spreadsheet. I am struggking to get the navigation betwee the forms to work properly On startup frmMain is loaded. This frm has a button to...
3
by: Simon Verona | last post by:
I have a parent form which contains a toolbar. The toolbar controls the loading and switching to of MDI child forms. The code for the toolbar click event and one of the subroutines that loads...
6
by: Mark Thompson | last post by:
I have a problem with my Visual Basic .NET 2003 application which I have so far been unable to resolve. I am trying to get an OpenGL control that I have created working properly as a control on...
1
by: sj | last post by:
Flickering Subform! I am developing a Quotation system in Access 03. At entry, users enter data thru' a form with subform. However, the subform keep flicker when I run the system on computer...
3
by: giladp1 | last post by:
Hi, I noticed that by adding background pictures to my forms the application looks so much more interesting and professional. I want to keep just texture simple backgrounds in order to prevent...
5
by: oscWork | last post by:
Does anyone know of any way to switch focus between a main form and a child form without the usual flickering you get while changing focus between windows? This works fine if the main form is an...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.