07-13-2018 03:09 AM
Hi everybody,
I would like to submit a problem encountered in using the tab control
The LV examples show how to individually set the properties of a TAB control, looking the example it seems very easy but.....
Trying to apply the same code to a TAB control taken from the controls palette, the method does not work
I didn't understand which properties need to be set in order to make the code working
Somebody knows what is the trick used in the example?
Thanks in advance for your reply
monica
Solved! Go to Solution.
07-13-2018 03:25 AM - edited 07-13-2018 03:25 AM
Hi Monica,
you also need to check all those checkmarks in the "Advanced" submenu of the tab context menu (aka right-click menu)!
You need to "Allow multiple colors" and you need to disable "Make Page Caption match Label" (for each page!)…
It also helps to use the error out wire for each property node!
07-13-2018 03:27 AM
The example relies on having references to the pages of your tab control.
If you right click on your tab control and click "create -> property node -> pages" you will get the property node that returns the array of page references.
Once you have that it should work fine.
0xDEAD
07-13-2018 03:44 AM
Thank you so much for the quick answer
just a question more.. are this properties normally available in the "Advanced" submenu of the tab context menu, recoverable and settable programmaticcally?
thanks
07-13-2018 04:13 AM
Hi Monica,
some, but not all.
Why don't you browse those properties in LabVIEW? Just right-click the tab terminal and "Create -> Property node" to see them all…
(Or read the LabVIEW help, there are huge lists of all properties and methods for all frontpanel objects.)
07-16-2018 04:12 AM
Thank you very much
I found the properties to set programmatically so I attach the VI updated to share it
Bye