Dynamic Panel: OnFocus if key pressed equals down/up

Hi, I’m trying to resize a text area using up/down arrows when a second dynamic panel has focus. This is how I expected it to work (attached), but it’s not doing anything.

image

I figured it out. Here’s an example in case anyone else is curious.

resizetextarea.rp (56.7 KB)

It’s not perfect, but was useful for showing the concept.