04-12-2007 10:43 PM
04-13-2007 04:14 AM
04-13-2007 04:30 AM
Hi,
I would like to change the icon of a vi program and not in exe. When you run a LabVIEW program, the title bar icon should change. And when you stop the 'vi', the title bar icon can become defaut LabVIEW icon.
Soundar
04-13-2007 04:45 AM
04-13-2007 06:15 AM
Hi GredW,
This will chage the connector pane icon and not the title bar icon. Connector Pane icon you can get or set programmatically. I want to change the titlebar icon.
In VB or VC++, there is a option in Project Properties, where you can change the icon of the forms/windows. that will reflect when you run.
Such kind of changing Title bar icon at run time is required.
Soundar
04-13-2007 07:22 AM
@Soundar wrote:
In VB or VC++, there is a option in Project Properties, where you can change the icon of the forms/windows. that will reflect when you run.
I believe that's because Visual Studio creates a new window for the form when you run the application (since until then it's inside the tabbed interface of the IDE itself). In LabVIEW, the window for the front panel remains the same and is owned by the IDE. LV itself does not have a way of changing this, but maybe the Windows API does allow you to change the icon on an existing window.
Personally, I don't find this to be unreasonable behavior. If the VI is run from LV itself, it will usually mean that the developer is the one running it, and the developer does not need to have the custom icon.
When the program is run as an executable, of course, it does use the icon you provided.
04-16-2007 07:40 AM
03-25-2009 05:30 AM
Does someone has solution for the above problem......
Regards
03-25-2009 09:16 AM
03-25-2009 11:37 PM
Dear smercurio_fc
Actually i have to change the labview icon on the final software that will be provided to the customer. so can you provide solution for the above.
I have one more problem, can i customize the tool bar (add buttons or leds) or can i add a new tool bar?
Thanks for replying
Reagards,
Shrekt