Hello,
Just a simple question on roImageCanvas, in the doc you can find :
Void ClearLayer(Integer zOrder)
Clear all content from a layer (see SetLayer for the layer definition)
Void Clear(Void)
Clear all content from all layers.
Do these functions also delete the layer itself? In my app, the number of layers is dynamic and I sometimes face weird behavior. For example, I have lines of text that appear where they shouldn't, i have rectangles that are supposed to be separate and that are not. It is just like if what i had drawn before was not really cleared and remained on the screen.
I tried using AllowUpdates() and put some Sleep() to be sure to let the time to the box to clear everything before drawing again, but it didn't change.
Any idea of what can cause this? A function I have forgotten maybe?
Thank you.
Denis