Hi,
sorry if this registers as another thread,
something went wrong with my subscription to this email list, althought I assume
that the subject testing will still recognise it and place it in the right
thread.
Anyway,
I understand the the GC drawing will be clipped to
mainCanvas, what I meant was is there a way to tell the GC the lines over the
controls that are children of mainCanvas. Currently it draws the lines 'behind'
the controls.
so is there a zIndex setting or something
similar.
Regards
Steve
----- Original Message -----
Not currently. All drawing is clipped to the
control.
----- Original Message -----
Hi there,
I have succesfully implemented
some code where, if I drag and drop from a label in one canvas (cnv) to one in
another (cnv2), the parent canvas' (mainCanvas) PaintListener will draw a line
from one label to the other.
so cnv1 and cnv2 are descendants
of mainCanvas.
The problem I have, is that mainCanvas' GC
draws the line behind the controls.
Is there a way to get the GC to
draw the line over the child controls?? Any help would be
appreciated
Regards Steve
|