Dynamic Label with IR 'Normal Button'

hello, i am newbie to this community.
i want to see the label or image or icon for what i am actually pressing (if am pressing ‘power’ button from my gui, and i need to see the icon/image/label of in dedicated position)
i am actually in a home theater project, so i want to make best looking gui

i have many buttons in a single page, and i created a dedicated space(in the same page) for see what i am pressed

Use the IsPressed Property Trigger to change your image when pressed.


my requirement is
if i press the ‘vol+’ button , i want to see the label section as ‘vol+’
if i press the ‘vol-’ button , i want to see the label section as 'vol-
'if i press the ‘ch+’ button , i want to see the label section as 'ch+
if i press the ‘ch-’ button , i want to see the label section as ‘ch-’

its work if we change the button type to toggle, but i want as ‘normal’ button type.
requirement scope= tv remote (global cache) (if the IR button set to toggle, it horrible to interact )

You do not need a toggle button. Keep the ButtonType Normal & do this:

  1. Assign a Name to your Label. Doesn’t matter what you call it.
  2. Add a PropertyAction to the Clicked EventTrigger.
  3. For the PropertyAction, choose your Label from the TargetName dropdown.
  4. Set the Property to Text.
  5. Enter “vol+” for the Value.

it works… :grinning:
thanks for you time&support

1 Like