Avoid canves from rescale

BlitzPlus Forums/BlitzPlus Programming/Avoid canves from rescale

mag.(Posted 2004) [#1]
Anyone have a better way to avoid canvas from re-scale when user change a window size. For now, when I know user change a window size I just delete my canvas and create new one with the same handle.

I got problem on my new project, where my canvas has a lot of child. If I delete it I have to recreate all of them again and its slow.


WolRon(Posted 2004) [#2]
Can't you put the canvas into a panel and just resize the panel?


Kanati(Posted 2004) [#3]
to resize a canvas you have to destroy and recreate.


Lazze(Posted 2004) [#4]
There seems to be a bug in blitz+, that - occasionally - crashes the program when deleting and recreating (probably most deleting) a canvas.
I have no good solution as to how you avoid it though...