11-10-2009 12:25 PM
Hi, I want to hide a single tab on a multi-tab tabcontrol based on login. If the particular bit is set, show 1st and 3rd and so on. I just gone through help files.I couldn't find any.
Raj.
Solved! Go to Solution.
11-10-2009 12:30 PM
The Pages" property will return an array of references, one for each tab page. You can index tht array to get the refence to the page you want to hide and then use a "PageVis" property to show/hide the page.
Ben
11-10-2009 12:34 PM
this may help:
11-10-2009 12:36 PM
Hi,
Create a property node with the "pages" property, then you can select the visibility via the "page visible property". See attached jpg.
Christian
11-10-2009 12:39 PM
seems that Ben and Harold where faster!
11-10-2009 12:48 PM
I think Ben has a big array with all the answers. He just uses Index Array followed by "Post" and beats those of us who have to think about it and type up an answer.
Lynn
11-10-2009 01:23 PM
11-10-2009 01:30 PM
Wow..Thank you Ben,Harold and Christian. One problem 3 solutions. I got it..and works well. Harold gave us a workable sample too. Thanks Harold.
Johnsold you are right.! Ben never leave us time to think. An array runs with double clocked CPU..haha
Thanks Guys..
07-25-2013 08:01 AM
How did you make the page property with "PageVis." I create a property node but then can only link to things in Pane, aka I can't find how to link to Page
07-25-2013 08:52 AM - edited 07-25-2013 08:54 AM
@EightBit wrote:
How did you make the page property with "PageVis." I create a property node but then can only link to things in Pane, aka I can't find how to link to Page
8bit, you should be aware you replied to a 4 yeaar old solved thread (Not the best way to attract attention- next time feel fre to start a new thread)
Try this:
A Tab is a container for "Pages" the Pages each have a "Page.visible" property. since the pages are in the tab container you cant access there properties directly from the "Pane"