Get Text - Status Bar SENDMSG() Function 21

Syntax

SBTEXT$=SENDMSG(sysgui,id,21,segment_index,$${,context{,ERR=lineref}})

Description

This function returns the text of a specified status bar segment.

Parameter

Description

sysgui

SYSGUI channel.

id

Status bar control ID.

21

Number of this SENDMSG() function.

segment_index

The segment's zero-based index number. 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),text:C(1*)

Field

Description

dispattr

Text style.

$01$ Prevents a border from being drawn around the segment.

$02$ Draws text with a border to appear higher than the plane of the window.

$04$ Displays text from right-to-left for use in Hebrew or Arabic systems.

text

Text to be displayed