Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access thread: Maximize window


Message #1 by "Nikola" <Nikola@B...> on Sat, 20 Jul 2002 14:19:42 +0300
Hi ,
I know is newbie question but i nead help.
I have switchboard what i nead to only open maximized and (that is working)
i have subswichbord where is reports.same reports I open from form, but
bicouse in this form is only two combo box is not look nice to open this
form in maximize mode, so this form is show in front of subswitchboard and
whan i click on preview my report is open in beck of switchboard.please help
me with this!!!!
Thanks
Fule



Message #2 by "Kenny Alligood" <kennyalligood@h...> on Sat, 20 Jul 2002 10:36:42 -0400
------=_NextPart_001_0000_01C22FD9.562FD820
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Add this code to the Switchboard Open Event

     Private Sub Form_Open(Cancel As Integer)

          DoCmd.Maximize
    
     End Sub

You will need to set the Popup Property of all your other Forms to YES or
 they will be maximized as well.

Kenny

----- Original Message -----
From: Nikola
Sent: Saturday, July 20, 2002 7:27 AM
To: Access
Subject: [access] Maximize window

Hi ,
I know is newbie question but i nead help.
I have switchboard what i nead to only open maximized and (that is workin
g)
i have subswichbord where is reports.same reports I open from form, but
bicouse in this form is only two combo box is not look nice to open this
form in maximize mode, so this form is show in front of subswitchboard an
d
whan i click on preview my report is open in beck of switchboard.please h
elp
me with this!!!!
Thanks
Fule




to unsubscribe send a blank email to G
et more from the Web.  FREE MSN Explorer download : http://explorer.msn.c
om

Message #3 by "Nikola" <Nikola@B...> on Sat, 20 Jul 2002 17:48:18 +0300
This is a multi-part message in MIME format.

------=_NextPart_000_0007_01C23015.A169D7F0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Ken,
Thanks for replay,
my problem is i have same form what have only 2 or 3 field and if I
maximized ,look very agly!!This form I use only for report !


  -----Original Message-----
  From: Kenny Alligood [mailto:kennyalligood@h...]
  Sent: Saturday, July 20, 2002 5:37 PM
  To: Access
  Subject: [access] Re: Maximize window


  Add this code to the Switchboard Open Event

       Private Sub Form_Open(Cancel As Integer)

            DoCmd.Maximize

       End Sub

  You will need to set the Popup Property of all your other Forms to YES or
they will be maximized as well.

  Kenny

    ----- Original Message -----
    From: Nikola
    Sent: Saturday, July 20, 2002 7:27 AM
    To: Access
    Subject: [access] Maximize window

    Hi ,
    I know is newbie question but i nead help.
    I have switchboard what i nead to only open maximized and (that is
working)
    i have subswichbord where is reports.same reports I open from form, but
    bicouse in this form is only two combo box is not look nice to open this
    form in maximize mode, so this form is show in front of subswitchboard
and
    whan i click on preview my report is open in beck of switchboard.please
help
    me with this!!!!
    Thanks
    Fule





  --- Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 

----------------------------------------------------------------------------
--
  Get more from the Web. FREE MSN Explorer download :
http://explorer.msn.com





Message #4 by "Steven White" <Steve.White@m...> on Sun, 21 Jul 2002 03:49:53
OK - although you can use the On Open event, I find it is better to use the On Activate event

For the forms/reports you want maximized - put DoCmd.Maximize on their On Activate event

For the forms/reports you want as standard style, put DoCmd.Restore on their On Activate 
event.

I think you'll find this solves the problem

Steven



> Hi ,
I know is newbie question but i nead help.
I have switchboard what i nead to only open maximized and (that is working)
i have subswichbord where is reports.same reports I open from form, but
bicouse in this form is only two combo box is not look nice to open this
form in maximize mode, so this form is show in front of subswitchboard and
whan i click on preview my report is open in beck of switchboard.please 
help
me with this!!!!
Thanks
Fule



Message #5 by "nikola" <nikola@b...> on Sun, 21 Jul 2002 11:45:05 -0700
Steven,
Thanks for replay I will try your solution...
Nikola

-----Original Message-----
From: Steven White [mailto:Steve.White@m...]
Sent: Sunday, July 21, 2002 3:50 AM
To: Access
Subject: [access] Re: Maximize window


OK - although you can use the On Open event, I find it is better to use the
On Activate event

For the forms/reports you want maximized - put DoCmd.Maximize on their On
Activate event

For the forms/reports you want as standard style, put DoCmd.Restore on their
On Activate
event.

I think you'll find this solves the problem

Steven



> Hi ,
I know is newbie question but i nead help.
I have switchboard what i nead to only open maximized and (that is working)
i have subswichbord where is reports.same reports I open from form, but
bicouse in this form is only two combo box is not look nice to open this
form in maximize mode, so this form is show in front of subswitchboard and
whan i click on preview my report is open in beck of switchboard.please
help
me with this!!!!
Thanks
Fule





Message #6 by "Kenny Alligood" <kennyalligood@h...> on Sun, 21 Jul 2002 11:30:05 -0400
------=_NextPart_001_0000_01C230A9.F5DE0650
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Then set the Popup property to Yes for everything except the form for you
r reports (there you use the code). Unless I am missing something this sh
ould solve your problem.

Kenny

----- Original Message -----
From: Nikola
Sent: Saturday, July 20, 2002 11:02 AM
To: Access
Subject: [access] Re: Maximize window

Ken,
Thanks for replay,
my problem is i have same form what have only 2 or 3 field and if I maxim
ized ,look very agly!!This form I use only for report !


-----Original Message-----
From: Kenny Alligood [mailto:kennyalligood@h...]
Sent: Saturday, July 20, 2002 5:37 PM
To: Access
Subject: [access] Re: Maximize window


Add this code to the Switchboard Open Event

     Private Sub Form_Open(Cancel As Integer)

          DoCmd.Maximize
    
     End Sub

You will need to set the Popup Property of all your other Forms to YES or
 they will be maximized as well.

Kenny

----- Original Message -----
From: Nikola
Sent: Saturday, July 20, 2002 7:27 AM
To: Access
Subject: [access] Maximize window

Hi ,
I know is newbie question but i nead help.
I have switchboard what i nead to only open maximized and (that is workin
g)
i have subswichbord where is reports.same reports I open from form, but
bicouse in this form is only two combo box is not look nice to open this
form in maximize mode, so this form is show in front of subswitchboard an
d
whan i click on preview my report is open in beck of switchboard.please h
elp
me with this!!!!
Thanks
Fule





--- Change your mail options at http://p2p.wrox.com/manager.asp or to uns
ubscribe send a blank email to  


Get more from the Web. FREE MSN Explorer download : http://explorer.msn.c
om

--- Change your mail options at http://p2p.wrox.com/manager.asp or to uns
ubscribe send a blank email to  Get mo
re from the Web.  FREE MSN Explorer download : http://explorer.msn.com


  Return to Index