Solved Resize form on button click? (1 Viewer)

mamradzelvy

Member
Local time
Today, 06:32
Joined
Apr 14, 2020
Messages
145
Hi,
I was wondering whether it's possible to change a form's width on demand.
I got a nice form with a listbox on it and i was hoping i could make it expand, namely it's width to show more data within the listbox, but only if one so desires.
 

mamradzelvy

Member
Local time
Today, 06:32
Joined
Apr 14, 2020
Messages
145
Thank you!
Is there a way to resize it back to it's original size without toying around with numbers?
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 12:32
Joined
May 7, 2009
Messages
19,231
i don't think it's possible without first
saving the WindowTop, WindowLeft, InsideHeight, InsideWidth of the Form on
4 variables on it's Load event
 

theDBguy

I’m here to help
Staff member
Local time
Yesterday, 21:32
Joined
Oct 29, 2018
Messages
21,454
Thank you!
Is there a way to resize it back to it's original size without toying around with numbers?
You could also try closing and reopening the form. Just a thought.
 

Users who are viewing this thread

Top Bottom