Line Control

See Also1HA3WJ             Properties5LJVXZ            MethodsV7LXB8

Description

Line is a graphicalSZH8PW control displayed as a horizontal, vertical, or diagonal line.

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 LineGU01B0 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 Move103G76J 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.


Properties

BorderColor5UIV0UJ                   Name2016V9P

BorderStyle43RNRL                   Parent17GLLBF

BorderWidth15GR67Q                  Tag6GI6KP

DrawMode2ZATBSD                     Visible32KNZA4

Index3MKW18P                            X1, X2, Y1, Y2W3KPJP

 

 


Methods

Refresh3SMNZGP

ZOrder1YQ29TM


See Also

Help:

Drawing a Control2JRMWVS

Frame Control1KX6ZP8

Line MethodGU01B0

Picture Box Control31MYIWX

 

Programmer's Guide:

Chapter 3, "Creating and Using Controls"

Chapter 15, "Creating Graphics for Applications"