KeyPad Function in Visualization to fill a table

mawaloc
1 day ago
10 hours ago
  • mawaloc - 1 day ago

    Hello Everybody,

    Hope you're all doing good for this new year. Since a time, I'm looking on how to use the KeyPad in vizualization to fill a textlist or something similar.

    my application is :
    In one window, I would need to be able to writte a string linked to an Numeric Values. => I can't use a std text list inside my software, as per this would be custom by customer.

    then from another windows I would need a "text box" to be able to select any of this String.
    I hope it's clear enought.

    thankyou for the help

     
  • TimvH

    TimvH - 12 hours ago

    Create an array of STRING and 1 INT variable, e.g.:
    asMyString : ARRAY[0..9] OF STRING;
    iIndex : INT;

    Then place a "Table" object in the visualization:
    - link this to the string array variable.
    - Check the option "Use Template"
    - Then in the Input Configuration - add the "Write Variable" command
    Somewhere else add a "Combobox, array"
    - link this to the same array.
    - And link the index to the INT variable.

    In the Combobox, you can then select one of the strings from the array. The index variable will indicate which selection has been made.

     
  • mawaloc - 10 hours ago

    THANK you !!! I finally find ou... may be not with same thing " use template" , so will looks your way of doing, maybe it's more properly done

    anyhow thank you

     

Log in to post a comment.