i used to use visual basic 6, but now i dunno how to draw a line in visual basic 2005. whick button should i click?
How to draw a line in Visual Basic 2005?
Hmm, they seem to have left that out of the toolbox. Probably the next best thing would be a label, with the following property settings:
AutoSize: False
BorderStyle: FixedSingle
Text: [empty]
Size: [desired width], 1
In addition, unless you want to size it at run time:
GenerateMember: False
Alternatively, you could process the Paint event, and call e.Graphics.DrawLine(). (The symbol e is passed as a parameter to the handler.)
Good Luck!
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment