Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Recognize end-user hitting escape key?

$
0
0

Hi all -

 

Created a toggle button to enter/exit out of full screen.

 

But if the end-user hits the "esc" key to exit full screen, the click event of the toggle button obviously doesn't fire.

 

Using:

if (app.fullscreen == false)

....in the layout ready event will work to identify if we are not in full screen and, if we are not in full screen, run the code to switch the button's caption and tool-tip values to their correct values.

 

But that only happens when the layout ready event fires.

 

Anyway to determine it earlier?

 

Just looks crappy to see the caption "exit full screen" on the toggle button when we're not in full screen anymore.

 

Thanks!

 

B


Viewing all articles
Browse latest Browse all 5571

Trending Articles