Click to See Complete Forum and Search --> : Drawing a line in a picturebox - from within a user control


Don Schindler
December 12th, 1998, 02:11 PM
I've been trying to build an ActiveX control, comprised of a Picture Box. When I goto UserControl_Initilization, and include a line like: “Picture1.Line (10,10)-(100,100),vbRed” nothing appears. If I move the line down to the Picture1.Paint method, then it works. Why won’t this work in a UserControl method?


Thank,

- Don


dschin@vnet.ibm.com