I have a problem with my app in Windows (works fine on Mac).
When I start up my app in Windows (XP to 10) it looks like this:
As soon as I try to resize it (bigger or smaller), it shrinks to this:
Once shrunk, I can’t drag it bigger - it just flips back to the small size.
The Windows maximise button works fine, but as soon as I click on the Windows Restore button, it reverts back to the small size again.
I do have a Resized and Resizing event handler that makes a vertical scrollbar appear/disappear on a canvas (on a different page of the page panel):
//reset the bas canvas scroll to top
bascanvas.scroll (0,-scrollpixels)
scrollpixels=0
oldscroll=0
basscrollbar.value=0
//and make scrollbar invisible if window big enough to show all bas sheet
if me.height > 760 then
basscrollBar.visible= false
else
basscrollbar.visible = true
end if
But thats it. No other resizing events are handled.
What is making the window flip from fullscreen to tiny, and nothing in-between?