LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

change tab selection color for a Command Button

Hi,
I search all of the attribute for the Command Button but can't find any thing that can help to change the tab selection border color.It is black for default.
Please if possible tell me is there any way to change color for it?
Also I don't know why in my "Edit label Attributes" for command button I can't change the label color. It's always in gray mode and I should set it by SetCtrlAttribute with ATTR_LABEL_COLOR.
Is it possible to active this mode in "Edit label Attributes".

Thanks a lot.
0 Kudos
Message 1 of 2
(3,378 Views)

1. By "tab selection border", I'm assuming you mean the black border outline that the non system themed command buttons have when they have the keyboard focus. Unfortunately, there is no way to change the color of this border outline. However, if you set the panel attribute "Use Windows Visual Style for Controls" in the "Edit Panel" dialog's "Other Attributes" dialog, then the command buttons indicate that they have the focus by drawing a dotted outline  inside the border of the command button. You may like this effect better.

2. If the panel's "Conform to System Colors" attribute is set, then the "Text Color" control on the "Edit label Attributes" dialog is dimmed and not settable.

Hope this helps,

- jared

0 Kudos
Message 2 of 2
(3,348 Views)