05-14-2014 07:21 AM
I have a canvas control to display data in a graph format (much faster than drawing graphs) ,
however if I place a control in front of the canvas the clear canvas does not clear the entire object, it only appears to clear blocks around the previous drawn data.
This even occurs if the label for the canvas cotrol overlaps the canvas.
I use the following to clear the panel
CanvasClear (panelHandle, panel_canvas, VAL_ENTIRE_OBJECT);
Apart from moving the other controls away is there a better solution, is this a known problem?
Many Thanks
05-15-2014 09:33 AM
I tried to reproduce this by modifying the samples\userint\canvas.cws example program by placing one of the buttons on top of the canvas:
... but I wasn't able to reproduce the problem. Clearing the canvas cleared everything. So there must be some other subtle difference in your program. Would you be able to attach here a reduced version of your program that reproduces the problem?
Luis