I am still on old 2014 r2.1 due to 2 controls that are not compatible on higher versions of Xojo. I am removing them in the next month but until then… mine says Resizeable and lets me select Yes or No. When I changed it from No to Yes… Mac allows the resize on the window. But Windows seems to let me select the corner but when I drag nothing happens… it doesn’t change size.
If you get the double-ended arrow cursor when you position the mouse on the edge of the window, the system is seeing it as resizable. The next thing I’d check is the window, minimum and maximum width and height. If those are set to the same value as the Width and Height, the window can’t be resized. (Yes, I actually did that by accident and puzzled about it for a few hours. I felt really dumb when I noticed it.)
I worked intensely on RubberViews to overcome the limitations of Windows. In particular, on small screens, it is impossible to create larger windows than the screen, unlike what happens with Mac.
No not a typo. It was the default when I created the window years ago. I never set that value.
I found the issue in the Elastic Window documentation. See Number 2 below.
When I went into My windows advanced system props and turned OFF “Show window contents while dragging” then I could all of a sudden resize the window. Obviously this is a problem since such a setting change being required just to resize is not good.
Soooo… I changed my resizemode to None and then re-enabled the windows setting… the window DOES resize now but it’s a bit ugly during resize as some controls are half drawn and some flickering occurs.
Michel, I can switch to RubberViews if you think it would help. Does Rubberviews have any issue with control drawing during resize?
-TIm
---- Text below from Elastic Windows Documentation —
ResizeMode(ElasticWindowResizeMode) Change the resizing method that
Elastic Window uses. There are three methods one may use:
ElasticWindowResizeMode.Control This is the default method
Elastic Window uses. Before resizing a control, it is made invisible in order to
speed up resizing, but may cause a flicker on some platforms.
ElasticWindowResizeMode.Window This method will hide the
entire window prior to resizing. The LiveResize window property should
be turned off. To use this option successfully on Windows clients, Show
window contents while dragging must be turned off. On Windows XP, this
can be done by right-clicking on the desktop and choosing Properties, select
the Appearance tab and click the Effects button. Once in the Effects window,
uncheck Show window contents while dragging.
ElasticWindowResizeMode.None This method hides neither the
controls nor the window prior to resizing, and may be faster on newer
processors.
The entire issue was caused by ElasticWindow. I’ve used it for a long time and just now had a client mention he couldn’t resize the window on Windows.
I have installed the demo for RubberViews anyway just to see if that was better but I had some issues that are no fault of RubberViews. I will try that again later when I have gotten rid of 2 old controls and climbed the Xojo version ladder from where I am in the dark ages of 2014.