'lower' keyboard button vs. RETURN key

Is there any way to detect the ‘hide’ or ‘lower’ keyboard button on the bottom-right of the iPad keyboard? At the moment my code detects the RETURN key to activate hidekeyboard() , but when i press the lower keyboard button, it does not detect that. Thanks!

You can test to see whether the keyboard is hidden.

isKeyboardShowing()

So simple. Thanks!