08-24-2008 07:27 AM
08-24-2008 11:09 AM
Usually, you want to keep it simple. To go between pages, we use the tabs directly, no booleans needed at all. 🙂
90%+ less code! 😉
Imagine the nightmare with your code if you later want to add another tab. Not very scaleable!
If you really want to use buttons, place them outside them tab structure so you only need four of them or even use an array of four buttons. (You can also float them over the tab structure).
08-24-2008 02:16 PM
merci pour votre reponse
pas de probleme pour moi les buttons dans le tab control ou a l'exterieure .si par exemple les buttons sont à l'exterieure comment sera la solution?"j'espere que le prob est claire
merci encore
08-24-2008 03:07 PM - edited 08-24-2008 03:09 PM
kimokana wrote:j'espere que le prob est claire
Sorry, my French is really rusty. 😉
If you don't need to operate the tabs directly, but only with the buttons, you could make the tab control an indicator and write the desired state to it. You could even hide the tabs.
Otherwise, use a local variable of the tab control, for example as in the sttached small example (8.5.1).
08-24-2008 03:16 PM
i want to use the button outside them tab
the solution?
thankyou for your answer
08-24-2008 04:21 PM
08-25-2008 03:40 AM
i am kimokana
thank you for your answer the probleme is how to programmed the button
thankyou
please help me
08-25-2008 03:49 AM
informatiquegroupe wrote:please help me
I use an event structure to switch the tab structure when one of the buttons is pressed while the VI is running.
The buttons are thus "programmed", at least by my definition. :).
Is there any other problem that you still need to solve?
08-25-2008 05:10 AM
Sorry, my english is really rusty
i don't inderstand
please give me an exemple for 3 button and 3 pages
i m waiting
thank you
08-25-2008 06:23 AM - edited 08-25-2008 06:23 AM