Skip to content

Class: LineControl

Properties | Events | Methods | Index of Classes

Creates divider lines on a container most-often to create a 3 D horizontal dividing line

Hierarchy

cObject > cUIObject > DfBaseObject > DfBaseWindow > DfBaseUIWindow > DfBaseControl > DfBaselineControl > LineControl

Show full hierarchy and direct subclasses

Library: Windows Application Class Library

Package: DfLine.pkg

Description

LineControl is used to create divider lines on a container most-often to create a 3 D horizontal dividing line.

Sample

Object Line1 is a LineControl // horizontal 3 D line
    Set Size to 2 100
    Set Location to 50 5
End_Object

Object Line2 is a LineControl // vertical 3 D line 
    Set Size to 100 2
    Set Location to 5 5
    Set Horizontal_State to False
End_Object

Object Line3 is a LineControl  // single thick horizontal line
    Set Size to 3 100
    Set Location to 50 5
    Set Line_Style to LnSingle // single blank line
    Set Line_Thickness to 3    // 3-pixel thickness
End_Object

Syntax

Use DFLine
:
Object oObjectName is a LineControl
    Set Size to Height Width
    Set Location to Row Column
    Set Line_Style to iLineStyle
    Set Line_Thickness to PixelThickness
End_Object

Note

This class allows you to create vertical or horizontal lines of various appearance. Two styles of 3 D gray lines (dip or bump) or a single dark line may be drawn. The thickness of these lines may also be adjusted.