• 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

    Edited once, last by Weslley (April 7, 2012 at 10:31 PM).

  • 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

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!