LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tab control list mode in vertical direction

I know the default tab control is list in horizontal direction , if i set the tab location to "Left" , the tab text also change it to vertical , how can i set it stay in horizontal direction

Message Edited by adobefree@gmail.com on 01-02-2010 08:09 AM
0 Kudos
Message 1 of 13
(12,847 Views)
SpxImage.jpg
0 Kudos
Message 2 of 13
(12,838 Views)
Somebody can correct me if I am wrong, but I believe you cannot have the tab controls on the left in a horizontal position.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 3 of 13
(12,830 Views)
You can't have them horizontally, and I don't remember ever seeing a single program in which they are, but you can achieve the same effect by hiding the tabs altogether and using a listbox to control which page you're displaying. In fact, if you have many tab pages, you may want to consider abandoning the tab control and moving each page into a separate VI. The tab is then replaced with a subpanel in which you display the current VI, based on the listbox. You can see an example of this design if you open the LabVIEW options dialog.

___________________
Try to take over the world!
0 Kudos
Message 4 of 13
(12,817 Views)

is that confirmable? if it is , could you please give me some examples to show how to load separate vi when i select different items of a list

0 Kudos
Message 5 of 13
(12,781 Views)
If you open the example finder (Help>>Find Examples), you should be able to find some examples if you search for "subpanel". The basic concept is that you use an event structure to detect the value change event for the listbox and then call two methods on the subpanel - first the Remove VI method and then the Insert VI method. You might be able to find some examples online if you search for "subpanel" and "plugin", but this might be more complicated that you like.

___________________
Try to take over the world!
0 Kudos
Message 6 of 13
(12,767 Views)
It's not really smart but if you search for a simple but non evolutive soluce : you could also use 'Image only' as Tab Layout and prepare image in an external software as a horizontal text (transparent) then import this image as layout. 😉
0 Kudos
Message 7 of 13
(12,745 Views)

I don't see anything wrong with using images-only... it preserves the visual behavior of the tab control while giving you greater flexibility of appearance:

 

awesometabs.png

-Barrett
CLD
0 Kudos
Message 8 of 13
(12,730 Views)
You can get an example of loading plug-in code by using a selector here.
0 Kudos
Message 9 of 13
(12,718 Views)

@blawson :

Sure, I purpose that use 'Image' could be a soluce but keep in mind that the first need was to have horizontal text and so, use image as text is not very 'smart' because a risk of confusion between text-image of caption text of the tab...

 

0 Kudos
Message 10 of 13
(12,708 Views)