SETCOLORS() |
DEVELOPER |
|
|
Purpose |
.SetColors() method allows you to change the object colours, 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 |
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 here 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 colour of icons in the client to have a white foreground on a black background: #RC = Client.SetColors("Icons","White","Black")
|
Topic ID: 510116