Get Average Character Width - GRID SENDMSG() Function 37
Syntax
WIDTH$=SENDMSG(sysgui,id,37,0,$${,context{,ERR=lineref}})
Description
This function returns the average width of a character in pixels, based on the grid's current font.
|
Parameter |
Description |
|
sysgui |
SYSGUI channel. {,context{,ERR=lineref}} |
|
id |
Grid control ID. |
|
37 |
Number of this SENDMSG() function. |
|
0 |
Always zero. |
|
$$ |
Always null. |
The return value is a binary representation. Use DEC(width$) to get the numeric representation.