Form Size

W

Warrio

Hello!

Is it possible to change the form's width when the user clicks on a button??
I tried the following code without success..

myForm.Width = 10350 ' The code runs without any bug, but doesn't
change the current width of the form

and...

myForm.WidnowWidth = 10350 ' but Access says that this proprety can't
be set, cause it's a read only propriety

Thanks for any suggestion
 
M

Marshall Barton

Warrio said:
Is it possible to change the form's width when the user clicks on a button??
I tried the following code without success..

myForm.Width = 10350 ' The code runs without any bug, but doesn't
change the current width of the form

and...

myForm.WidnowWidth = 10350 ' but Access says that this proprety can't
be set, cause it's a read only propriety

Another way is to use the form's InsideWidth property:

Me.InsideWidth = 10350
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top