I try to draw a static line (not moved with the picture) on an ImageBox Pro object using the Line object from VB6 but the line is invisible.
can you help please ,the line is a must.
Thanks
Meir Mark.
Dim oLine As Object
Set oLine = Controls.Add("VB.Line", _
"Line1", ImageBoxCnt1)
oLine.X1 = 10
oLine.Y1 = 10
oLine.X2 = 1000
oLine.Y2 = 1000
oLine.BorderWidth = 10
oLine.BorderColor = RGB(255, 0, 0)
oLine.Visible = TrueReturn to GdImageBox [Pro] ActiveX
Users browsing this forum: No registered users and 1 guest