Event Script that triggers when a label or text box updates (Perspective)

I’m trying to create a mobile client that scans a label and then displays information about that label. It’s all working, but I’m trying to get it to refresh automatically whenever the barcode changes. I have the barcode update to a session prop and that prop in bound to a label. I can’t seem to get any events to trigger when the text in that label updates. I have the script bound to all 3 textComposition events at the moment. Currently it refreshes from a refresh button, but I’d like to get rid of that.

Right click the Label.props.text property and select “Add Change Script”.

3 Likes

Thanks that’s exactly what I needed.

1 Like