I need some help to resolve a puzzle for me
I trie to draw a line in a Imagecontrol in a Dialog
The The line is drawn with the Sub below but only when the sub is called
from a mouseclick (event) on a other control in the dialog
When calling the sub from a codeline no drawing, when a I put a "print"
before the "DrawRect" then after closing the "printwindow" the draw is
done ????
why ???
thanks for any hint
Fernand
sub Drawline
MySpaceTodraw= MyImageControl.peer.createGraphics()
oSpaceTodraw.setFillColor(ncolorvalue)
' print "halt"
oSpaceTodraw.drawRect(10,10,75,5 ) ' draw a line 75 pixels long and 5
pixels thick
end sub
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]