LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatic Windows Title Bar

Hello,

I would like to Programmatically change the display of the windows title bar of my application so that it reads the name of the file I currently have open inside of it. I can not find any documentation for dynamic changes, only static ones using the VI properties window. I know this completely possible because I have used LV programs in the past that do this. Is there a vi property that I am missing or something?

Thanks,
Glen D
0 Kudos
Message 1 of 7
(5,351 Views)
write to the VI property "Front Panel Window:Title"
0 Kudos
Message 2 of 7
(5,351 Views)
Here's a vi that shows one way of doing it.
Download All
Message 3 of 7
(5,351 Views)
Use a VI ref property node,

For property look under Front Panel Window then select Title.

Make the property node a write node then just wire a string in for what
you want the title to be, change it anytime you want.

Jim

AstroMed Glen wrote:

> Hello,
>
> I would like to Programmatically change the display of the
> windows title bar of my application so that it reads the name of the
> file I currently have open inside of it. I can not find any
> documentation for dynamic changes, only static ones using the VI
> properties window. I know this completely possible because I have used
> LV programs in the past that do this. Is there a vi property that I am
> missing or something?
>
> Thanks,
> Glen D

--
--
"Those who make p
eaceful revolution impossible
will make violent revolution inevitable."
--John F. Kennedy
0 Kudos
Message 4 of 7
(5,351 Views)
Thanks for the reply. That was just what I was looking for.
0 Kudos
Message 5 of 7
(5,351 Views)
Use a property node. Change the class to VI. Select property Front Panel Window >> Title. Popup and select change to write.

FYI - If you open help, select index, and enter Title, you will see an entry for "changing in window". That help talks about changing the title interactively, then mentions that you can change it programmatically via the VI property as stated above.

Enjoy,
Roy Faltesek
0 Kudos
Message 6 of 7
(5,351 Views)
Ah yes, I see that now. I did not see that link at the bottom. I had read the top part and stopped there thinking that I had not found what I was looking for. Thanks for your help
0 Kudos
Message 7 of 7
(5,351 Views)