Okay the actual code I’m writing is somewhat extensive and I won’t copy it all here but I have narrowed the code down to a few statements that repeat the problem:
I have a window on a Desktop App (2024 2.1 on macOS Tahoe) with a
desktopcanvas on the window named cSubstrate. In the window’s OPEN event I have the following statements:
cSubstrate.Width = 500
cSubstrate.Height = 400
cSubstrate.Backdrop = GrayLightH
cSubstrate.Refresh
Then I have a button on the window that executes the following code:
cSubstrate.Width = 400
cSubstrate.Height = 500
cSubstrate.Refresh
Return
The result is the Canvas redisplays with a width of 400 and a height of 400. There is plenty of room on the window for the added height.
Can someone offer an idea?
thanks