Modify

>>-aTabControl~Modify(--tab--,--text--,--icon--,--numValue--)--><


The Modify method sets some or all of the attributes of a tab.

Arguments:

The arguments are:

tab

The number of the tab.

text

The label text for the tab.

icon

The index of the icon in the image list of the tab control, set with the setImageList() method.

numValue

An integer value stored together with the tab to save information.

Return value:

0

The attributes were set.

-1

You did not specify tab.

1

In all other cases.