[AccessD] Forms too wide-able on wide monitor

Stuart McLachlan stuart at lexacorp.com.pg
Tue Mar 19 01:43:35 CDT 2024


It works for me 

On 18 Mar 2024 at 22:24, Bill Benson wrote:

> I thought inside with is a read only property. When I found I was not able
> to set that within the form resize event (well I didn´t get a runtime
> error, but the value didn´t change either). I then asked ChatGPT if it was
> a read only property and it said that it was. On the other hand, ChatGPT is
> wrong about so many many things.
> 
> On Mon, Mar 18, 2024 at 10:07PM Stuart McLachlan <stuart at lexacorp.com.pg>
> 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