LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make an icon bar similar to menu bar but with picture buttons?

Solved!
Go to solution

Good afternoon,

 

I made an application with a UIR which contains a menu bar with options like "Load configuration file", "Save configuration file as", etc.. but i would like to insert another "row" below that menu bar in the panel which will contain icons (maybe "picture buttons") as most of the known programs and i do not know how to implement it. I was able to insert picture buttons individually but locating them in the panel with the mouse and not being part of a group like the items of a menu bar.

 

I want to have a final appearence similar to the following image: 

Icon bar.PNG

 

Thanks in advance!

 

Best regards, 

 

Alejandro

0 Kudos
Message 1 of 6
(4,274 Views)

You can customize any button by importing images into the true and false states. that's all you need. If you want them as a group, you can place them inside a cluster or you can just group them.

0 Kudos
Message 2 of 6
(4,266 Views)
Solution
Accepted by topic author AlePinto

Alejandro, 

CVI comes with a toolbar instrument driver that is exactly what you are looking for: a fully-customizable toolbar that permits to design the toolbar,  dynamically add,  delete,  dim and activate items,  group them as you want.  There is also an example program that shows how it works and how to use it: you can find it by searching "toolbar"  in the example finder (Help >> Find examples... Menu item)



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 3 of 6
(4,255 Views)

altenbach, some times you wire developers ( Smiley Wink ) simply forget that CVI is a different beast from LabVIEW, with its own tools and paradigms. Even if those IDEs are similar in several aspects, LV concepts cannot be exported as-is to CVI.



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?
0 Kudos
Message 4 of 6
(4,247 Views)

@RobertoBozzolo wrote:

altenbach, some times you wire developers ( Smiley Wink )


You are right. I was in the wrong forum 😄

0 Kudos
Message 5 of 6
(4,238 Views)

That's not a problem! We text developers ( Smiley Very Happy ) are not jealous of our board

You'll need to adapt to our peculiarities, though  Smiley Wink



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 6 of 6
(4,217 Views)