Screen resizing issues
551088Nov 9 2010 — edited Nov 10 2010Hi, i use a library to resize the forms window/canvas/items to scale to the applet size in the browser.
ie. if i develop a form with a window thats 880 pixels wide by 552 high and then run the form in a browser with the applet sized 1920 by 1200 the items on the canvas will move and become taller & wider ( effectively use the full screen rather than just one corner )
99% of the time this works fine, but i do have a problem, under some circumstances the canvas doesn't display properly in that items either disappear or are chopped off when they now extend pass the original ( design time ) width/height of the canvas.
If the canvas hadn't resized properly then i would get a forms runtime error FRM 41081 when trying to move the item to a position beyond it's boundary, it seems to be that forms runtime screen display doesn't reflect the updated canvas width and height
This problem shows up firstly in a form with a tabbed canvas ( 5 tabs ), the first tab everything is fine but in the other 4 tabs fields either disappear or are chopped off and secondly when a form calls another form but this can be got around by using syncrhonize.
Thanks Paul.