-
I have an ActiveX UserControl which contains a Picture Box. I draw some lines on this Picture Box and every thing sees fine. But, at Design-time of the form, if I click on my control, the lines drawed on the picturebox disapear!!!
When I run the app, the lines appears again.
Any idea about this?
-
Are you using the line control or the line method? If you are using the controls, be sure you are not changing the coordinates in the control_initialize or InitProperties. If you are using the method, be sure the AutoRedraw property is set to true so it will redraw the lines whenever it recieves an event....
-
I'm using the line method and I set to True the AutoRedraw property.