L_SECTDRAW

Draw a line in a list header or footer

 

WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
xcall L_SECTDRAW(list_id, D_HEADER|D_FOOTER, [D_VERTICAL|D_HORIZONTAL], 
&     row, column, length)

Arguments

list_id

The ID of the list. (n)

D_HEADER | D_FOOTER

Draw the line in the header section of the list or in the footer section of the list. (n)

D_VERTICAL | D_HORIZONTAL

(optional) Draw a vertical line (default) or a horizontal line. (n)

row

The starting row position. (n)

column

The starting column position. (n)

length

The length of the line to draw. (n)

Discussion

On UNIX and OpenVMS, L_SECTDRAW draws a horizontal or vertical line in a list header or footer. On Windows, it either adds unexpected characters to the header or footer or is ignored. For standard (non‑ActiveX) lists, L_SECTDRAW may add unexpected characters if it is followed by an L_SECT call that doesn’t erase existing text. L_SECTDRAW is ignored for ActiveX Toolkit lists.

Examples

The following example draws a vertical line in the footer of the list identified by lstid. The line starts at row 1, column 5 of the footer and is two characters long.

xcall l_sectdraw(lstid, D_FOOTER,, 1,5,2)