Set Margin - GRID SENDMSG() Function 62

Syntax

NEWMARGIN$=SENDMSG(sysgui,id,62,margin,$${,context{,ERR=lineref}})

Description

This function always sets the left margin for text display in the main grid. This function does not apply to heading grids.

With Set Margin Mode - Grid SENDMSG() Function 63 , it is possible to apply the margin setting to right margins.

Parameter

Description

sysgui

SYSGUI channel.

id

Grid control ID.

62

Number of this SENDMSG() function.

margin

Margin setting, in pixels.

$$

Always null.

If the operation is successful, he return value is a binary representation of the new setting . Use DEC(NEWMARGIN$) to get the numeric representation. If the operation is not successful, $00$ is returned.

See Also:

Set Margin Mode - Grid SENDMSG() Function 63.