Hi,
I have an HTMLViewer in my window, and I also placed a canvas above the HTMLViewer (I also set the canvas to be on top via the IDE button which moves controls up to the very top of the z-order).
Depending on a buttons state - either:
HTMLViewer1.visible = False
Canvas1.Visible = True
Or
HTMLViewer1.visible = True
Canvas1.Visible = False
However, whenever the HTMLViewer.visible=False, the canvas also disappears???
Is this because I dragged my canvas over the top of the HTMLViewer in the window, and now the canvas is somehow part of the HTMLViewer - resulting in it becoming invisible when the HTMLViewer is invisible?
If I put the HTMLViewer just on the left side of the window, and the canvas on the right side of the window - this works as expected.
It is only when I place the canvas on top of the HTMLViewer in the window, that this fails.
Thank you all in advance.