LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tab control text orientation

I can create a tab control and place the tabs on the right-side.  When I do this the text is vertical.  Can I make the tab text horizontal AND have the tabs on the right side?

 

Thanks,

Dan

0 Kudos
Message 1 of 5
(3,969 Views)

Hey Dan,

 

I didn't find any settings to change the alignment for the text.

You could make the page text invisible and use customized stringcontrols which you set visible/invisible (when switching between pages) instead of the original labels.

 

hope this helps

0 Kudos
Message 2 of 5
(3,938 Views)

Christian_M wrote:

Hey Dan,

 

I didn't find any settings to change the alignment for the text.

You could make the page text invisible and use customized stringcontrols which you set visible/invisible (when switching between pages) instead of the original labels.

 

hope this helps


 

Or another approach could use the "import Image" method to set the image to be the text you desire.

 

The following illustrates the effect and the code used to achieve that effect.

 

 

Note: There used to be a thread here on the forums that explained how to impor the images with reorting to doing programatically. I wonder if I just can't find the button to push to do it while editing. If you know about that old thread or know how to do this by editing please chime in!

 

Ben

 

 

Message Edited by Ben on 04-22-2009 07:55 AM
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 5
(3,923 Views)
@Ben nice desktop image
Message 4 of 5
(3,916 Views)

To add images to a tab without the pain of going through the pain of programmatically setting the image:

 

1. Right click the tab, and select Advanced->Tab Layout and then an option which will show images.

 

2. Get an image on the clipboard that you want to use. An effective way is use the menu Edit->Import Picture to Clipboard...

 

3. Now right-click the tab again, and select Advanced->Tab Layout->Import Image from Clipboard  (voila! the option now appears!)

Message 5 of 5
(3,791 Views)