SETCOLORS()

  

DEVELOPER

 

 

Purpose

.SetColors() method allows you to change the object colors, overriding those set in the PIV file.

Object Type

Client

Syntax

Variable = Client.SetColors("<Object>","Foreground","Background")
 

Operation

Variable is a numeric scratch variable for the return code value
Object
is the object name that the color change affects.
Foreground
is the foreground color of the object.
Background
is the background color of the object.

Remarks

The list of object names can be obtained by looking at the Target Group drop-down list in the Palette Settings section on the PROIV Default Properties window. Click herehere to view an example screenshot of the PROIV Default Properties window. Use the entry in the drop-down list but omit the "palette entry data" text for the <object> name.

Example

To set the color of icons in the client to have a white foreground on a black background:

      #RC = Client.SetColors("Icons","White","Black")

 

 

Comment on this topic

Topic ID: 510116