User Tools

Site Tools


linewidth_set_line_thickness_.htm
Navigation:  Language Reference > 9 -  Window and Report Attributes > Window and Report Attributes >====== LINEWIDTH (set line thickness) ====== Previous pageReturn to chapter overviewNext page

LINEWIDTH( width )

blk2blue.jpg

LINEWIDTH Specifies the LINE control and BOX and ELLIPSE border thickness.
width A positive integer constant specifying the thickness in pixels (in WINDOW structures). For REPORT structures, the thickness is based on the report's unit of measurement.

The LINEWIDTH attribute (PROP:LINEWIDTH) specifies the thickness of the LINE control and the BOX and ELLIPSE controls' border. This attribute is valid in Clarion Win32 Windows, and also for REPORT structures in both Clarion Win32 and Clarion#.

Example:

CustRpt REPORT,AT(1000,1000,6500,9000),THOUS

Detail   DETAIL,AT(0,0,6500,1000),USE(?DetailOne)

        LINE,AT(105,78,-49,0),USE(?Line1),LINEWIDTH(10)!10 thous of an inch

         BOX,AT(182,27,50,50),USE(?Box1),LINEWIDTH(3)  !Box with 3 thous inch border

         STRING(@N$11.2),AT(6000,1500,500,500),USE(Pre:F1)

        END

      END

window WINDOW('Caption'),AT(,,260,100),GRAY

       LINE,AT(105,78,-49,0),USE(?Line1),LINEWIDTH(3)  !3 pixel line

       BOX,AT(182,27,50,50),USE(?Box1),LINEWIDTH(3)    !Box with 3 pixel border

      END

linewidth_set_line_thickness_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1