Get String Width - GRID SENDMSG() Function 73
Syntax
WIDTH$=SENDMSG(chan,id,73,0,string${,context{,ERR=lineref}})
Description
This function uses the grid's current font to calculate the width of the specified string, in pixels.
Parameter |
Description |
sysgui |
SYSGUI channel. |
id |
Grid control ID. |
73 |
Number of this SENDMSG() function. |
0 |
Always zero. |
string$ |
String to be analyzed. |
The return value is a binary representation. Use DEC(WIDTH$) to get the numeric representation.