1. IMPORTANT:
    We launched a new online community and this space is now closed. This community will be available as a read-only resources until further notice.
    JOIN US HERE

declare a button to a single step of a table

Discussion in 'Scripting Workshop' started by thormyrdal, Dec 14, 2015.

  1. thormyrdal

    thormyrdal New Member

    Messages:
    13
    hello, its me.

    some questions about tables, i am scratching my head at this one for quite a while.

    is it possible to define costume graphics on a table.
    if not, how could i make it workable, that a button or a switch controls just one step of the table?

    greetings
    thor myrdal
     
  2. Lindon

    Lindon NI Product Owner

    Messages:
    322
    you mean the value held in the table?

    on ui_control(button)
    %table[$target_step] := button
    end on

    or do you mean something in the way it looks?
     
  3. thormyrdal

    thormyrdal New Member

    Messages:
    13
    I mean a for example i have 8 steps, but i only want to have step 2 and 4 activeted for playback, so i can switch it on off for every step. like they did in heavyocity´s "the grid" from dm307 its more about the visual.
     
  4. Lindon

    Lindon NI Product Owner

    Messages:
    322
    Sorry still a bit lost here... you want to have a button that:

    when ON your application uses step 6 and 9 (for instance)

    and when OFF uses step 2 and 6

    and you want to display the contents of these steps ONLY

    Do I have it right?
     
  5. thormyrdal

    thormyrdal New Member

    Messages:
    13
    well yes it was yours suggestion, thx Lindon

    yeah the first suggestion was right
     
    Last edited by a moderator: Dec 14, 2015
  6. Lindon

    Lindon NI Product Owner

    Messages:
    322
    So your fixed up now?
     
  7. thormyrdal

    thormyrdal New Member

    Messages:
    13
    yeah man thx to you, i am still coding but yeah that was the missing piece