Changing button state

Petr Fodor shared this question 4 years ago
Answered

A very basic question I got stuck on: how to create a button which changes in a simple text label? E.g. Button POKE changes in text POKED after the tap.

Comments (4)

photo
1

Hi,


I think you will find this tutorial very helpful: http://justinmind.com/prototyper/lear...


Specially the set value and show/hide actions.


Best regards,


Marc

photo
1

Thanks Marc. I've finally discovered this today :) One more question: how can I add an event to a group? I have multiple complex objects and I want to use the whole object as an event trigger. Using Group in dynamic panels seem not working well, it's not working in the prototype although it's possible to set the event unlike from the classic Group.

photo
1

Hi,


Unfortunately you can't add events on groups, the solution would be, as you say, to group them into dynamic panels. Another work-arround would be to copy the same event on every element in the group. If grouping in dynamic panels doesn't work, send your .vp file to jim.support@justinmind.com so we can figure out what is going wrong.


more info on groups and dynamic panels

photo
1

Thanks Marc, I'll send the file to Jim, there must be some trouble with the dynamic panel.