Solved Resize form on button click?

mamradzelvy

Member
Local time
Today, 02:20
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.
 
Thank you!
Is there a way to resize it back to it's original size without toying around with numbers?
 
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
 
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

Back
Top Bottom