Set Column Width - GRID SENDMSG() Function 36

Syntax

TF$=SENDMSG(sysgui,id,36,col,$colwidth${,context{,ERR=lineref}})

Description

This function sets the width of the specified column in the grid.

Parameter

Description

sysgui

SYSGUI channel.

id

Grid control ID.

36

Number of this SENDMSG() function.

col

Column number. (Column numbering is zero-based.)

bin(colwidth,2)

Binary representation of the column width. Converts the numeric value to a binary string.

The width of a column can be changed at any time. The return value is a one-byte string that indicates the success or failure of an operation; $01$ indicates success, $00$ indicates failure.

See Also

Set Best Fit - Grid SENDMSG() Function 24 and Fit Columns to Window - Grid SENDMSG() Function 29

BBjGrid::setColumnWidth