See Also Properties Methods
Description
Line is a graphical
Remarks
You can use a line control at design time to draw lines on forms. At run time, you can use a line control instead of, or in addition to, the Line method. Lines drawn with the line control will remain on the form even if the AutoRedraw property is False. Line controls can be displayed on forms, in picture boxes, and in frames. You cannot use the Move method to move a line control at run time but you can move or resize it by altering its X1, X2, Y1, Y2 properties. Note that the effect of setting the BorderStyle property depends on the setting of the Borderwidth property. If BorderWidth is not 1 and BorderStyle is not 0 or 6, BorderStyle is set to 1.
BorderColor Name BorderStyle Parent BorderWidth Tag DrawMode Visible Index X1, X2, Y1, Y2 |
Refresh
ZOrder
Help:
Drawing a Control
Frame Control
Line Method
Picture Box Control
Programmer's Guide:
Chapter 3, "Creating and Using Controls"
Chapter 15, "Creating Graphics for Applications"