LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tab Control - Custom Page Selector

Solved!
Go to solution

Hi all! I saw many applications where the tab control page selector is in the top right corner of the control as in the attached image. Is it possible to create this tab control from LV? Thank you!

18069iE1BC53741413E224

---
+++ In God we believe, in Trance we Trust +++
[Hungary]
0 Kudos
Message 1 of 4
(3,104 Views)
Solution
Accepted by topic author D60

Two buttons.  Event structure.  If one is pressed, it reads the current value of the tab control and adds 1 to it and writes back to a local variable of the tab control.  (And wraps around back to zero if necessary).  If the other is pressed, it subtracts 1.  And if the number is less than 0, sets the value to be the highest page number to effectively wrap around.  (That or you can coerce the values to be 0 or the maximum page number so that it doesn't wrap around and repeated presses of the buttons keep them at either the first or last page.)

0 Kudos
Message 2 of 4
(3,090 Views)

Well, I thought another solution.... i.e, special feature... or any. The easiest way is the best! 🙂

 

Thanks!

---
+++ In God we believe, in Trance we Trust +++
[Hungary]
0 Kudos
Message 3 of 4
(3,085 Views)

Many times it is not necessary to look for highly sophisticated turn key solutions. They might not exist where an easy way does Smiley Wink

Certified-LabVIEW-Developer_rgb.jpg

0 Kudos
Message 4 of 4
(3,053 Views)