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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Line Command in a Frame?

Status
Not open for further replies.

wraygun

Programmer
Dec 9, 2001
272
0
0
US
Does anyone know how to use the Line Command in a Frame?

e.g.

line (x1,y1)-(x2,y2)



Any help would be greatly appreciated.

Thanks,
Wraygun
 
Dont think you can use the line method on a frame but you can place a line in a form at design time and move it during run time.

place a frame and a line in the frame. put a button anyware

private sub command1_click
line1.x1=0
line1.y1=0
line1.x2=frame1.width
line1.y2=frame1.height
end sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top