[AccessD] Forms too wide-able on wide monitor
Bill Benson
bensonforums at gmail.com
Mon Mar 18 21:27:25 CDT 2024
That is an interesting idea. I will have to consider whether that is
something that would work here. I’m not sure the design time sizes of my
form are very relevant, but it is possible for some forms. It may be. Thank
you.
On Mon, Mar 18, 2024 at 10:17 PM Stuart McLachlan <stuart at lexacorp.com.pg>
wrote:
> Another alternative to stop users from messing with the form size:
>
> Private Sub Form_Resize()
> DoCmd.RunCommand acCmdSizeToFitForm
> End Sub
>
>
> On 19 Mar 2024 at 12:07, Stuart McLachlan wrote:
>
> > You'll need to work out a suitable value,but:
> >
> > Private Sub Form_Resize()
> > Me.Caption = Me.InsideWidth ' just to see what's going on
> > If Me.InsideWidth > 10000 Then Me.InsideWidth = 10000 'twips
> > End Sub
> >
> >
> >
> > On 18 Mar 2024 at 21:46, Bill Benson wrote:
> >
> > > Assuming possible (which is may not be) .... How can I put a governor
> in a
> > > form´s resize or other event such that my form´s won´t stretch out too
> far
> > > on user´s systems with super wide monitors? I think there is a
> recursive
> > > artifact causing efforts to set the form to a specific width upon form
> > > resize; maybe I am just supposed to lock down the min max buttons.
> > >
> > >
> > > Been a long while since I did any MS Access development.
> > > --
> > > AccessD mailing list
> > > AccessD at databaseadvisors.com
> > > https://databaseadvisors.com/mailman/listinfo/accessd
> > > Website: http://www.databaseadvisors.com
> >
> >
> > --
> > AccessD mailing list
> > AccessD at databaseadvisors.com
> > https://databaseadvisors.com/mailman/listinfo/accessd
> > Website: http://www.databaseadvisors.com
> >
>
>
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> https://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
>
More information about the AccessD
mailing list