Loading...

ImageBox Pro as a container

Support for GdImageBox OCX and GdImageBox Pro ActiveX/SDK.

ImageBox Pro as a container

Postby meirmark » Tue Oct 14, 2008 10:11 pm

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.
meirmark
 
Posts: 1
Joined: Tue Oct 14, 2008 9:41 pm

Re: ImageBox Pro as a container

Postby Loïc » Thu Oct 16, 2008 6:45 pm

Hi,

I give you the way to achieve that with vb6:



Code: Select all
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 = True



Best regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4430
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to GdImageBox [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest

cron