Perspective Message Handler on Prop Value change script

I am trying to have a text field within my project be focused after a labels text prop has changed value. I am able to get the message handler to work with an "onClick" event but can't seem to get it to work on a prop change script.

Here is my code:

On the textbox I want to be focused

On Label's text property change script:
image

On buttons, "onClick" event (This one works, line 14 is the relevant one):

Any information would be helpful.

I tested sendMessage from a change script and it worked fine. Check your logs and see if any errors are happening before the provide focus line.

Also, you can change your script to be more succinct using in

if self.custom.prgrm in (2,5,6):
    # do something

Also, you should use the onActionPerformed event for buttons, not onClick.