[AccessD] Jumping Forms

David McAfee DMcAfee at haascnc.com
Wed Dec 17 13:29:08 CST 2003


Not sure if this helps but...

I once had a similar problem. I finally traced it down to a subform which had a docmd.maximize in its OnOpen or OnActivate event. 

D

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin -
Beach Access Software
Sent: Wednesday, December 17, 2003 11:12 AM
To: Access Developers discussion and problem solving
Subject: Re: [AccessD] Jumping Forms


Dear List:

Further testing shows that when I comment out the two lines:

    Call adhScaleForm(Me, 640, 480, 96, 96, rctOriginal)
    DoCmd.Maximize

I still get the 'jump' when the form gets the focus.  So it doesn't have to
do with ScaleForm or Maximize.

Rocky

----- Original Message ----- 
From: "Rocky Smolin - Beach Access Software" <bchacc at san.rr.com>
To: <AccessD at databaseadvisors.com>
Sent: Wednesday, December 17, 2003 9:08 AM
Subject: [AccessD] Jumping Forms


Dear List:

I have an app which uses the form resizing from the ADH and DoCmd.Maximize
in the _Open event:

    Call adhScaleForm(Me, 640, 480, 96, 96, rctOriginal)
    DoCmd.Maximize

As an MDB - no problem.  But when I make an MDE the form 'jumps' if it's
already open and gets the focus.  IOW, if I'm at a menu and go to a form
from the menu, the target form does not jump, but I leave the menu open.
Then when the user closes the target form and the menu, which is already
open gets the focus (Activate event is triggered but not Open event, and I
have no suspicious code in my activate event), I get that extra 'jump'.

Doesn't disrupt the operation of the program but it's irritating.

Has anyone seen this behavior?  Any known fix?

MTIA,

Rocky Smolin
Beach Access Software
_______________________________________________
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