Set Default Alignment - GRID SENDMSG() Function 84

Syntax

NULL$=SENDMSG(sysgui,id,84,alignment,$${,context{,ERR=lineref}})

Description

For BBj-specific documentation, see Set Default Alignment - GRID SENDMSG() Function 84 BBj.

This function sets the default text alignment for cells in a grid.

Parameter

Description

sysgui

SYSGUI channel.

id

Grid control ID.

84

Number of this SENDMSG() function.

alignment

Default text alignment. (Identical to the values used in the alignment field of the grid information block.)

0 Left

1 Right

2 Center (default).

$$

Always null.

The return value is a null string.

This function produces unpredictable behavior in a grid that has been made data-aware and should be used before binding the grid to a data channel with Set Channel and Template - Grid SENDMSG() Function 80.Set Channel and Template - SENDMSG() Function 80.The alignment for each column can be changed by using the ALIGN attribute with SENDMSG() Function 80.

See Also

BBjGrid::setDefaultAlignment