DFGUI -- Label Switch Tabstrip, dfgui -- tabstrip

Source: Internet
Author: User

DFGUI -- Label Switch Tabstrip, dfgui -- tabstrip

It is indeed a pity that DFGUI is not updated.

It focuses on Examples/Containers/TabContainer. unity is the use of Tab.


The function is simple, that is, to change the Tag content.

Let's take a look at the structure:


OK, dfTabstrip is the Tag dfTabContainer is the content.

The connection between them is that the dftabstriiner is referenced in the dfTabstrip.


In this way, the relationship is established between the two parent boxes.

In dfTabstrip, the sub-Tab sets its own group.


It means that all fathers are dfTabstrip.

However, you also need to sort out the order between the brothers? Who is behind?

Use z-order


The greater the z-order, the more backward the sorting.


OK. Now, all tabs are ready.

How does page know its corresponding tab?

It also depends on z-order.


In this way, you will correspond to your own tab.

The official example is a bit messy, but a slight modification to the parameter will result in the effect.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.