Navigation: Ultimate Suite for PowerBuilder Help > Single Page Application Windows > Tabbed Caption > Functions >

of_settextcolor

Send comments on this topic.

 

Description:

Set a color of the text in a tab by index or object reference.

Syntax:

of_settextcolor (long al_color)
of_settextcolor (long al_index, long al_color)
of_settextcolor (userobject auo_object, long al_color)
of_settextcolor (window aw_object, long al_color)

Argument

Description

al_index

The index of the tab you want to set text for.

aw_object

A reference to the window control for the tab you want to set text for.

auo_object

A reference to the userobject for the tab you want to set text for.

long al_color

RGB value of the color used to set the fonts color.

Return Value:

Returns 1 if successful or a 0 if the method was unable to set the color of the text for the tab.

Usage:

If no index or object is passed in, the text color of all tabs will be changed.


Copyright © 2021 Werysoft Inc.