Group:  Microsoft Access ยป microsoft.public.access.setupconfig
Thread: Maximized Form

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Maximized Form
Doobage20 21.09.2006 21:19:01
I am using Access 2000 from Office 2000 Professional. The computer OS is XP
Professional also. I have created a database in Access and have set one of
the forms to open when clicking on the .mdb file. Unfortunately the form
opens "cock-yed" and not centered or maximized. How do you enable this form
to open maximized each time I open the .mdb file.

Mark

Re: Maximized Form
"Rick Brandt" <rickbrandt2[ at ]hotmail.com> 21.09.2006 21:41:37
Doobage20 wrote:
[Quoted Text]
> I am using Access 2000 from Office 2000 Professional. The computer
> OS is XP Professional also. I have created a database in Access and
> have set one of the forms to open when clicking on the .mdb file.
> Unfortunately the form opens "cock-yed" and not centered or
> maximized. How do you enable this form to open maximized each time I
> open the .mdb file.
>
> Mark

In its Open event have code...

DoCmd.Maximize


--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com


Re: Maximized Form
Doobage20 21.09.2006 22:14:01
Where is the Open event?

Mark

"Rick Brandt" wrote:

[Quoted Text]
> Doobage20 wrote:
> > I am using Access 2000 from Office 2000 Professional. The computer
> > OS is XP Professional also. I have created a database in Access and
> > have set one of the forms to open when clicking on the .mdb file.
> > Unfortunately the form opens "cock-yed" and not centered or
> > maximized. How do you enable this form to open maximized each time I
> > open the .mdb file.
> >
> > Mark
>
> In its Open event have code...
>
> DoCmd.Maximize
>
>
> --
> Rick Brandt, Microsoft Access MVP
> Email (as appropriate) to...
> RBrandt at Hunter dot com
>
>
>
Re: Maximized Form
"Rick Brandt" <rickbrandt2[ at ]hotmail.com> 22.09.2006 00:08:31
Doobage20 wrote:
[Quoted Text]
> Where is the Open event?

Form in design view. Open property sheet. Look at Events tab and find one
labelled "On Open". In that enter "[Event Procedure]" then press the [...]
button to the right of the box.

That will take you to the VBA editor window positioned exactly where you place
that line of code.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com


Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net