[AccessD] Jumping Screen

Michael Mattys michael at mattysconsulting.com
Fri Apr 20 10:43:56 CDT 2012


Rocky,

I haven't been following this thread, so this may have been asked already.
Is it the menu that you have specified in the menubar property that is
causing the jump?
If so, could you delay the form's visibility for a second or two?

Michael R Mattys
Mattys Consulting, LLC
www.mattysconsulting.com


-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin
Sent: Friday, April 20, 2012 11:21 AM
To: 'Access Developers discussion and problem solving'
Subject: Re: [AccessD] Jumping Screen

Good question. I'm not calling the Resize or have any code in the Resize
event.  I am using the AHD resizing code. OK, I'll comment out the call to
adhScaleForm and see what happens.

OK the sequence is the same except for the first resize and it still jumps
in the same place.

Rocky


-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock
Sent: Friday, April 20, 2012 8:13 AM
To: accessd at databaseadvisors.com
Subject: Re: [AccessD] Jumping Screen

Hi Rocky

The major question is the purpose of all this resizing? Except for one
special form - which should fill from top to bottom to display a scanned
portrait document as a background picture - I can't recall ever to have
resized forms.

/gustav


>>> rockysmolin at bchacc.com 20-04-2012 16:48 >>>
Dear List:
 
This is getting serious now.  I made some changes to my A2003 product to fix
the problem of some of the forms not opening centered and maximized when
running the A2003 mde in A2007 and A2010. That problem is solved.
 
But now the forms jump unacceptably when the form is opened in the mde
version.
 
I tried to track it down by seeing if there's an event that's causing it.
So I put message Boxes in all the likely suspect events in just one form -
the Main Menu (figure if I can solve for this one form, I can do all).
 
Now in this application, whenever I go to a new form I close the calling
form - stops the user from navigating the open windows instead of my
carefully crafted menus. :)c
 
The ADH code for  resizing and other housekeeping functions is in the Open
event (I tried moving this to the Load event - no difference).  None of the
other events mentioned here have code except for the MsgBox.  When I open
the Main Menu then, here's the sequence of events:
 
Open
Resize
Load
Resize
Activate
Got Focus
Resize (after this one, the form actually appears) Lost Focus Current (no
record source on this menu - just a menu - at this point, part of the screen
shifts) Resize (big screen shift upwards) Resize (big screen shift
downwards)
 
So it's those last two resize events that are causing the jumping problem.
In the mdb - not so much.  In the mde - unacceptable.
 
Biggest problem - I don't know how to stop this behavior.
 
Any ideas are welcome.
 
MTIA
 
Rocky Smolin
Beach Access Software
858-259-4334
www.bchacc.com <http://www.bchacc.com/> www.e-z-mrp.com
<http://www.e-z-mrp.com/>
Skype: rocky.smolin
 


--
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com

--
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com



More information about the AccessD mailing list