Gustav Brock
Gustav at cactus.dk
Fri Apr 20 10:13:06 CDT 2012
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