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

Graphics and User Control

Status
Not open for further replies.

razovy

Programmer
Feb 10, 2004
4
US
I need to create basic MyControl - Custom (User) Control having the only "Line" method drawing straight line inside MyControl.

I want to call this method as MyControl1.Line(x1,y1,x2,y2) from the Main Form on Button_Click Event.
And no more code in this form for now.

--------
And I'm confused about all this Graphics graphics....
With different "Invalidate","Dispose", etc....

--------
Does anybody can help me? Thanx in advance.
 
Bug found - I did everythimg correct, but converted all from twips to pixels as a VB programmer... :))
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top