Click to See Complete Forum and Search --> : ActiveX User control problem
Tonatiuh
Nov 9th, 2000, 07:07 PM
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?
aaudette
Dec 5th, 2000, 12:17 PM
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....
Tonatiuh
Dec 5th, 2000, 01:51 PM
I'm using the line method and I set to True the AutoRedraw property.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.