LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make some items in toolbar inactive

Solved!
Go to solution

While my program is running, I need to de-activate (dimmed) some of the items(icon) in the toolbar, Is there a function in Labwindow CVI to do this?

 

Thanks

 

 

0 Kudos
Message 1 of 4
(3,056 Views)
I am assuming you are using the toolbox\custctrl\toolbar.fp library to create the toolbar in your program. If so, you can call the Toolbar_DimItem function for this.
0 Kudos
Message 2 of 4
(3,037 Views)

Hi Thieny1,

 

Mohan is correct, theToolbar_DimItem function is what you want.  This answer is available in the CVI help, both the online help and the help built into CVI.  On ni.com's home page, I searched for "toolbar dim CVI", and one of the first results was the online CVI help for the Toolbar_DimItem function.  The built-in help and online help can be great resources.  They also include links to related topics, which can be very helpful and reveal functionality that you did not even know was possible.

 

Cheers,

Mark E.

Applications Engineer

National Instruments

0 Kudos
Message 3 of 4
(3,026 Views)
Solution
Accepted by topic author thieny1
Thank Mohan.
0 Kudos
Message 4 of 4
(3,005 Views)