Skip to Content
avatar image
Former Member

Add Elements to Tabstrip

Hi All,

I've created a tabstrip with 2 tabs. Now I want to place few input fields and labels in each tab. The "Add Element" for tabs is disabled when I right-click on tab. I tried adding a group but it cannot be placed under tab. Is it not possible to add elements under tabs? Do I have to take a different approach in order to do this. Please advise.

Thanks,

Siri

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 23, 2009 at 06:40 PM

    hi,

    The approach followed for working with TABs is:

    1. Have as many tabs as possible.

    2. In each TAB , add ViewContainer . ViewContainer you would be able to add inside tab.

    3. Now create as many views as you have created Tabs.

    4. Embed views into the coreesponding ViewContainers.

    Now add whatever UIs you want to add inside the views.

    Ex.

    ->Tabstrip.

    Tab1 Tab2. Tabn3.

    ->Inside each tab , add viewcontainers.

    VC1 VC2 VC3.

    ->Create views.

    V1 V2 V3.

    ->Embed views to viewcontainers.

    Inside views V1 V2 V3 add UIs as per your requirement.

    I hope i am clear.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      hi,

      You dont have to drag and drop the views inside viewcontainer like this .

      Go to windows -> Your main View containing all tabs.

      Inside your main view , you will see various view containers.

      Here drag your views into the viewcontainer.

      Your Main View is the view having Tabstrips, All Tabs and only ViewContainers.

      For putting ViewContainers inside Tab -> Right click on Tab -> Add Element -> Select ViewContainer from there.

      I hope now it is clear.

      Edited by: Saurav Mago on Oct 24, 2009 2:02 AM

  • Oct 23, 2009 at 06:03 PM

    Add element will be disabled only when there is a child element exists for the tab.

    Abhi

    Add comment
    10|10000 characters needed characters exceeded