|
-
May 22nd, 2013, 01:07 PM
#2
Re: Visual Basic 6 Graphing Calculator
Yolo
One way might be to add a PictureBox control. It would serve
as the "canvas" on which to draw the line/curve. (You could
also just draw on the Form, but a PB gives you more flexibility).
Then, do draw a line, you could use the Line Method. In its generic
form, the syntax is
object.Line (x1, y1) - (x2, y2)
where object is the Form name or the PB name, and
x1, y1, x2, y2 are the line's beginning and ending coordinates.
Spoo
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|