Tina Norris Fields
tinanfields at torchlake.com
Tue Jul 29 06:00:35 CDT 2008
William, Thank you for this link. It is very useful, and I expect it will become a regular part of my tooklit, too. Thanks again. Tina William Hindman wrote: > Tina > > ...take a look at http://www.peterssoftware.com/winmanip.htm > ...its a freebie module I've used for years now, heavily modified, but it > should put you on the right track. > > William > > -------------------------------------------------- > From: "Tina Norris Fields" <tinanfields at torchlake.com> > Sent: Monday, July 28, 2008 11:27 AM > To: "Access Developers discussion and problem solving" > <accessd at databaseadvisors.com> > Subject: Re: [AccessD] Form positioning another try > > >> Hi Gustav, >> >> You are right, users won't be double-clicking in the Forms container. >> But, when I make frmMyForm the startup form, it locates in the same >> place as when double-clicked from the Forms container. So, I am trying >> to understand what I must do to put this form in the position I want no >> matter how it is opened. Perhaps by putting first a splash form and >> calling my frmMyForm from that? >> >> Thanks for the thought about the presence of a top toolbar. Shouldn't I >> be able then to open and load the form (maybe with Application.Echo >> False so the screen doesn't jump around), then have the On Current or On >> GotFocus event relocate the form to the proper place? I haven't tried >> exactly that, so I will. >> >> Any other thoughts? Thank you, >> Tina >> >> Gustav Brock wrote: >> >>> Hi Tina >>> >>> That could be because thinks when opening it by double-clicking, that a >>> top toolbar is not present which - when the form loads - it is. >>> >>> But what does it matter? Users don't double-click in the Forms container >>> ... >>> >>> /gustav >>> >>> >>> >>>>>> tinanfields at torchlake.com 27-07-2008 20:43 >>> >>>>>> >>>>>> >>> Hi, >>> >>> Didn't get anyone to bite on my previous query about this, so I'll try >>> it a little different way. >>> >>> I have a form we'll call frmMyForm. I want it to be in a certain >>> position 6000 twps from the left edge of the window and 1200 twps from >>> the top edge of the window. >>> >>> If I put the DoCmd.MoveSize 6000, 1200 in the On Activate event of the >>> form and call the form from some other form with a command button that >>> has in its On Click event the DoCmd.OpenForm frmMyForm, all is well. >>> The frmMyForm opens in the desired position. However, if I double-click >>> the icon for frmMyForm in the Forms container, frmMyForm opens in a >>> slightly higher position - about 400 twps higher, as a matter of fact. >>> Why? >>> >>> I've tried my DoCmd.MoveSize in every event I can think of that should >>> launch frmMyForm in the correct position - On Open, On Load, On Resize, >>> On Current, On Activate, On GotFocus - no go. It works fine if called >>> by code attached to some command button, but it does not work when the >>> frmMyForm icon is double-clicked from the Forms container in the >>> Database window. Why? >>> >>> What am I doing wrong here? Thanks for any assistance. >>> >>> Tina >>> >>> >>> >>> >>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > >