xulihang Active Member Licensed User Longtime User Jun 19, 2019 #1 As the title says, I find maximizing windows does not trigger From_Resize event.
Erel B4X founder Staff member Licensed User Longtime User Jun 19, 2019 #2 Works here when I test it: 657 2560 657 2560 657 1920 657 B4X: Sub MainForm_Resize (Width As Double, Height As Double) Log(Width) End Sub Upvote 0
Works here when I test it: 657 2560 657 2560 657 1920 657 B4X: Sub MainForm_Resize (Width As Double, Height As Double) Log(Width) End Sub
xulihang Active Member Licensed User Longtime User Jun 19, 2019 #3 This is a test project. I found this happens when controls are within a pane. The resizing works using mouse to drag window corners, but not using maximizing. Attachments resizeTest.zip 2.4 KB · Views: 231 Upvote 0
This is a test project. I found this happens when controls are within a pane. The resizing works using mouse to drag window corners, but not using maximizing.
Erel B4X founder Staff member Licensed User Longtime User Jun 20, 2019 #4 Create a new project with the code I posted and try it. Your code is wrong. You should never change the RootPane size. Upvote 0
Create a new project with the code I posted and try it. Your code is wrong. You should never change the RootPane size.
xulihang Active Member Licensed User Longtime User Jun 20, 2019 #5 Erel said: with the code I posted and try it. Click to expand... Thanks, Erel. But I didn't see the code. Upvote 0
Erel said: with the code I posted and try it. Click to expand... Thanks, Erel. But I didn't see the code.
xulihang Active Member Licensed User Longtime User Jun 20, 2019 #6 I uncheck the handle resize event to do the resize manually. This works fine. Attachments resizeTest.zip 2.3 KB · Views: 250 Upvote 0