Rabu, 31 Agustus 2011

[MS_AccessPros] Re: Resizing/positioning a popup form

 

My experience has been that I usually move my mouse to the very top border of the form, right click and then "Move", and "Save". I then do this for for the size as well.

You might want to try changing the autosize property of the form and see if changing that provides you with ability to grab either the top of form or bottom.

I am also pretty sure that if you have autoresize "ON", Access may ignore your Height and width changes in your code.

I also think I read some where that the height property applies to Form sections and not the form itself, form section being Header, footer, detail.

I am curious, is it that the Top and Bottom of the form are off your screen ?, or can't you "grab" the corner/bottom. ?

terence

--- In MS_Access_Professionals@yahoogroups.com, "David Tolson" <drtolson@...> wrote:
>
> Thank you Terrence, I have followed your instructions and am unable to grab
> the bottom or top of the form for resizing. Since I can resize the width, it
> opens stretching from the top of the page to the bottom. I placed the
> following in the On Load event and that seemed to correct it
>
>
>
> Private Sub Form_Load()
>
> InsideHeight = 4000 '@ 4.25"
>
> InsideWidth = 5000 '@ 5.25"
>
> End Sub
>
>
>
> but after I reposition the form in the center of the screen and then save
> it, it still opens closer to the top when opened in form view.
>
>
>
> Thoughts?
>
>
>
> r/David
>
>
>
> From: MS_Access_Professionals@yahoogroups.com
> [mailto:MS_Access_Professionals@yahoogroups.com] On Behalf Of Terence
> Sent: Wednesday, August 31, 2011 4:31 PM
> To: MS_Access_Professionals@yahoogroups.com
> Subject: [MS_AccessPros] Re: Resizing/positioning a popup form
>
>
>
>
>
> David, I assume you have the forms property set to POPUP, If not, then set
> it to that.
>
> POPUP is in the properties , OTHER tab, POPUP set to yes.
>
> Under the Format tab the form properties set AUTO CENTER to YES.
>
> Sizing is your choice, you can either do it via code in the On Load event,
> or
> When the popup opens in Form mode, Grab an Edge of the form and drag the
> edge to size it the way you want, you can position the form on the screen as
> well. Be sure to do a right click SAVE on the form after you have positioned
> and sized it. Access will remember the size and position for the next time
> it opens.
>
> Terence
>
> --- In MS_Access_Professionals@yahoogroups.com
> <mailto:MS_Access_Professionals%40yahoogroups.com> , "djsdaddy531"
> <drtolson@> wrote:
> >
> > Great Day! I have created a popup form that I am using that permits the
> user to enter values into a table when the NotInList event triggers. but it
> opens into the entire page. I want it to open in the center of the screen
> and only be (maybe) 3" by 5".
> >
> > Any assistance will be greatly appreciated. Thanks in advance.
> >
> > r/David
> >
>
>
>
>
>
> [Non-text portions of this message have been removed]
>

__._,_.___
Recent Activity:
MARKETPLACE
A good Credit Score is 720, find yours & what impacts it at freecreditscore.com.
.

__,_._,___

Tidak ada komentar:

Posting Komentar