nima66
Member
Is it possible to keep the maximize button enabled but prevent the user from resizing the form by dragging the corners?
I want the form to have only two states.
In the default state, it should be the size I want. For example 500*800
If you select the maximize button, the form will be full screen.
If it is full screen and the maximize button is clicked, it will return to the size of 500*800.
I tried everything, but I couldn't. I also asked chatGPT but they sent me wrong codes.
I want the form to have only two states.
In the default state, it should be the size I want. For example 500*800
If you select the maximize button, the form will be full screen.
If it is full screen and the maximize button is clicked, it will return to the size of 500*800.
I tried everything, but I couldn't. I also asked chatGPT but they sent me wrong codes.