Get Text Length - Status Bar SENDMSG() Function 22
Syntax
SBTEXT$=SENDMSG(sysgui,id,22,segment_index,$${,context{,ERR=lineref}})
Description
This function returns a templated string that contains a specified status bar segment's text style and length.
|
Parameter |
Description |
|
sysgui |
SYSGUI channel. |
|
id |
Status bar control ID. |
|
22 |
Number of this SENDMSG() function. |
|
segment_index |
Index of segment to retrieve the text from. If this value is greater than the number of segments, an invalid parameter error will be generated. |
|
$$ |
Always null. |
Returned String Template
dispattr:U(2),len:U(2)
|
Field |
Description |
|
dispattr |
Text style. |
|
len |
Text length. |
See the descriptions above for "No Border", "Pop Out", and "Right to Left" for the specific values possible in this field.