Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Drawing in Pictureboxes 1

Status
Not open for further replies.

jefs

Programmer
Mar 12, 2003
6
BR
Hi friends !

How´ve you doing ?

OK, let´s talk about my problem.
I´m developing an application in Visual Basic 6.0.
In this I have a picturebox and I want to draw lines on it.
How could I do it ? I mean draw lines like axis of a graphic.
Is it possible anyone describe me the step as soon as possilble ?!

Thanks in advance.

Yours,
Jefs.
 
>picturebox and I want to draw lines on it.
How could I do it ?

you can use the "line method" of the picture box (see msdn for more info)

good luck

If somethings hard to do, its not worth doing - Homer Simpson
------------------------------------------------------------------------
A General Guide To Excel in VB FAQ222-3383
 
You could put something like this in the picturebox's mousedown event.

Line -(X, Y)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top