LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I change a decoation color in my cvi program

What attribute is used to change the color of a decoration control Programmatically? 
0 Kudos
Message 1 of 2
(3,192 Views)

The correct attribute to use is ATTR_FRAME_COLOR.

An easy way to interactively discover the attributes pertaining to a specific control is to select the appropriate control type in the first parameter of "Select attribute constant" popup panel, as you can see below: after selecting "decoration" as the control type the list of attributes will show as active the only attributes effectively usable with decorations.



Message Edited by Roberto Bozzolo on 05-21-2008 08:50 AM


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 2 of 2
(3,183 Views)