Results 1 to 2 of 2

Thread: How to get TabPanel TabPanelItems?

  1. #1

    Default How to get TabPanel TabPanelItems?

    I have a TabPanel with a variable number of TabPanelItems associated with it. How do I iterate through these tab panel items and access properties?

    Here is some pseudo code to show you want I want to do:

    Code:
     foreach (TabPanel.TabPanelItems as item) {
         if (item.id = TabPanel.getActiveTab().id) {
            // do something
         } else {
           // do something
         }
     }

  2. #2

    Default

    Something like this:

    Code:
    TabPanel.items.each(function(item) { ... do stuff with item; });

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •