I'm Making a Controll similar to the Picturebox Control but with more stuff, I'm trying to add the line circle, scale etc methods to it.

The Line Method Works if you use this code

Code:
Public Sub Line(ByVal Flags As Integer, ByVal X1 As Single, ByVal Y1 As Single, ByVal X2 As Single, ByVal Y2 As Single, ByVal Color As Long)
Picture1.Line (X1, Y1)-(X2, Y2), Color
End Sub
Meaning you can call it like this
Code:
usrExtendedPctBox.Line(0,0)-(100,100),vbWhite
or using any other method that works with the standard line method

Does anyone know how I can do this for the PSet, Scale and Circle Methods?

Thanks

[Edited by Sam Finch on 06-21-2000 at 11:55 AM]