Skip to Content
avatar image
Former Member

Drop-down component disable in Design Studio

Hi All,

I created multiple tabs in tab-strip. I inserted multiple drop-down components in a panel which manipulates  the components in all tabs. When i go to tab1 i tried to disable some drop-down components and after going to tab2 some drop-downs have to be enable and some to be disable. For that i wrote some code which is, expample, in tab2  "if (tab2.setEnabled)

{

  Drop_dwn2.setenabled(false);

}"   . but it is not working fine.

Regards,

Sud.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 12, 2015 at 08:49 AM

    Hi Sud,

    The code is not appropriate,

    try

    if(TABSTRIP_1.getSelectedTabIndex==1)

    { the code}

    indexes start from 0

    Regards,

    Fazith Ali Z

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 12, 2015 at 11:14 AM

    Hi Sud,

    The code is not appropriate,

    try

    if(TABSTRIP_1.getSelectedTabIndex==1)

    { the code}

    indexes start from 0

    Regards,

    Fazith Ali Z

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 12, 2015 at 11:22 AM

    Hi Sud,

    The code is not appropriate,

    try

    if(TABSTRIP_1.getSelectedTabIndex==1)

    { the code}

    indexes start from 0

    Regards,

    Fazith Ali Z

    Add comment
    10|10000 characters needed characters exceeded