LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error when setting TabCaption programmatically

In a Tab Control I want to set the Property 'TabCaption' of a single page programmatically. When doing that I get the error 1077 (Invalid property value). On the other hand I can read the property out correctly.

The really strange thing is, that with one Tab Control I get the error and with another one I don't get it. The one which works was originally created with LabVIEW 8.0. The one which fails was created with 8.20. I attached a VI with the two cases.

Thanks for any help!
Dave
0 Kudos
Message 1 of 3
(2,679 Views)
Dave,

the issue is created because the tabs are initally configured to "Make Page Caption Match Label". You can "unset" this option by rightclicking on the register on the frontpanel, select Advanced and remove the mark in the appropriate line....


hope this helps,
Norbert B.
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 2 of 3
(2,673 Views)
Hi Norbert

Thanks for the tip, you helped me a lot!

cheers,
dave
0 Kudos
Message 3 of 3
(2,669 Views)