Get Tab Information - TABCTRL SENDMSG() Function 27

Syntax

TABDES$=SENDMSG(sysgui,id,27,tabidx%,$${,context{,ERR=lineref}})

Description

This function returns tab information.

Parameter

Description

sysgui

SYSGUI channel.

id

Tab control ID.

27

Number of this SENDMSG() function.

tabidx%

Zero-based tab index.

$$

Always null.

If the operation fails, a null string is returned.

The returned string contains a description of a tab and uses the following template:

imageidx:i(2),id:i(2),text:c(1*=0)

The imageidx field contains the index of the displayed image list tab image (-1 indicates no image). The id field contains the ID of a control or child window to be displayed when the tab is selected by the user (-1 indicates that no control or child window should be displayed automatically). The text field contains the text displayed on the tab.