• How can I count how many I have AddItem within this action?

    if(i LT ????.additem.count,


    plugin[combobox].removeall();
    additem('get(texto_menu_001)', action(moveto1); );
    additem('get(texto_menu_002)', action(moveto2); );
    ....


    thank you

    Einmal editiert, zuletzt von Weslley (7. April 2012 um 22:31)

  • Hi,

    you really want to count the 'additem' calls inside an action or do you just want to know how many items are there?

    the number of items can be get by plugin[comboboxpluginname].item.count,

    but if you want to analyze the action code itself, it would be necessary to parse the "action[name].content" by the indexoftxt action and count the 'additem' occurrences, e.g.

    best regards,
    Klaus

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!