SetImageList Method (TABCONTROL)
PLBCMP GUI Only, 9.4C
The SetImageList method assigns an IMAGELIST to a TABCONTROL object. The method uses the following format:
|
|
|
|
|
|
|
|
Where:
label
Optional. A Program Execution Label.
object
Required. A TABCONTROL object that is accessed.
return
Optional. A Numeric Variable that indicates whether a previous imagelist was replaced.
imagelist
Required. A previously created IMAGELIST object that contains the images that can be assigned to the tabs.
Flags Affected: EOS, OVER, ZERO
Note the following:
If the value returned is zero, the ZERO Condition Flag is set.
If the execution of the method replaced a previously existing imagelist, the {return} value is non-zero. If the TABCONTROL did not have an existing imagelist, the {return} value is zero.
The OVER Condition Flag is set if the {return} value is too large to be stored without truncation.
The EOS Condition Flag are always cleared.
The SetImageList method cannot be used to remove an imagelist from a TABCONTROL object. Use the RemoveImageList method instead.
This method is not available when using the PL/B Web Server.
See Also: Method Syntax, TABCONTROL Methods
![]() |