Navigation: Ultimate Suite for PowerBuilder Help > PowerCalc > Functions >

of_settheme

Send comments on this topic.

 

Description:

Set the controls theme color.

Syntax:

of_settheme (string as_color)

Argument

Description

as_color

a string value representing the theme: "BLUE", "SILVER", "OLIVE", "CLASSIC","BLACK", "Windows10_Blue", "Windows10_Olive", "Windows10_Silver","Windows10_Black", "BLUE_FLAT", "SILVER_FLAT", "OLIVE_FLAT", "CLASSIC_FLAT".

Reference the advguitheme.pbl\pbd file for all pre-built themes. The name of the theme is the name of the object with the "n_cst_pbui_theme_" prefix removed. E.g.

n_cst_pbui_theme_windows10_blue = "Windows10_Blue"

Return Value:

Always returns 1.

Usage:


Full list of themes:

 

Blue

 

Black

 

Olive

 

Silver

 

Classic

 

Windows10_Blue

 

Windows10_Black

 

Windows10_Olive

 

Windows10_Silver

 

Blue_Flat

 

Olive_Flat

 

Silver_Flat

 

Classic_Flat

 

Amber_Light

 

Amber_Dark

 

Blue_Light

 

Blue_Dark

 

Cobalt_Light

 

Cobalt_Dark

 

Crimson_Light

 

Crimson_Dark

 

Emerald_Light

 

Emerald_Dark

 

Indigo_Light

 

Indigo_Dark

 

Magenta_Light

 

Magenta_Dark

 

Mauve_Light

 

Mauve_Dark

 

Orange_Light

 

Orange_Dark

 

Pink_Light

 

Pink_Dark

 

Purple_Light

 

Purple_Dark

 

Red_Light

 

Red_Dark

 

Teal_Light

 

Teal_Dark

 

Violet_Light

 

Violet_Dark


Copyright © 2021 Werysoft Inc.