TPD4 Button disabled state

nicoladicosmonicoladicosmo Junior MemberPosts: 12
I'm working with a general button, If it is set as Disabled (General Properties select 'Yes' from the drop-down) can I assign to it a diferent image? and if yes, How?
I've to change the button type to have this?
Thanks
ND

Comments

  • Jorde_VJorde_V UX Scientist Posts: 393
    I'm working with a general button, If it is set as Disabled (General Properties select 'Yes' from the drop-down) can I assign to it a diferent image? and if yes, How?
    I've to change the button type to have this?
    Thanks
    ND

    Should be possible with the following command
    send_command panel,"'^BMP-<vt addr range>,<button states range>,<name of bitmap/picture>'"
    
    send_command panel,"'^BMP-500,0,silly.png'"
    

    This sets the all state of button 500 to silly.png

    if you want to do multiple buttons you can by doing xxx.xxx so 500.515 would be button 500 to button 515.

    0 = all state
    1 = off state
    2 = on state

    This can also be found in the PI.

    Not positive if this also works if the button is disabled, but I imagine it should.
  • nicoladicosmonicoladicosmo Junior Member Posts: 12
    Hi all,
    thanks for your answers
  • Jorde_VJorde_V UX Scientist Posts: 393
    Hi all,
    thanks for your answers

    I'm not schizophrenic or anything ;)
Sign In or Register to comment.