Enlarge the form

aabbbcc

Registered User.
Local time
Today, 10:38
Joined
Nov 14, 2015
Messages
28
Hi

I use th code of the following to maximize the form
but it doens't work.

______________________________
Private Sub Form_Activate()
On Error Resume Next
Application.DoCmd.RunCommand acCmdAppMaximize
End Sub
______________________________
Private Sub Form_Current()
Application.DoCmd.RunCommand acCmdAppMaximize
End Sub
____________________________________
Private Sub Form_Onload()
Application.DoCmd.RunCommand acCmdAppMaximize
End Sub
____________________________________

any wrong here???
from the attached pic,
I want the form to be maximized enough for more userfriendly.
 

Attachments

  • AAAAAAAAAA.jpg
    AAAAAAAAAA.jpg
    70.4 KB · Views: 93
Try:

Code:
DoCmd.Maximize
 
tried.
didnt work as well
 
See my example from your other current thread, the onload event maximizes the form. Note it will not maximize to full screen unless you set the forms Pop up property to "Yes".
 
ok . i got what u mean
but actually i want the form to be bigger,
not just the screen ..
 

Attachments

  • Untitled 11111.jpg
    Untitled 11111.jpg
    67.6 KB · Views: 80
Try setting both the "Horizontal Anchor" and "Vertical Anchor" properties to "Both".
 
sad that it cant appear the result that I want
i want the word and all items zoom octomatically to fit the screen when readers open the form.

Is it possible?
 
what about
runcommand accmdsizetofitform


I don't think a command will resize controls on an existing form, though.
 
how about just zoom the the words and all items to the size that can be read more easily?
 
Last edited:
Where to set the screen solution then ??
Thanks a lot .
 
Thanks...

But could I do that without pop up function>?
 
you may try it with tabbed form.
 

Users who are viewing this thread

Back
Top Bottom