Skip to main content
fzl_rshd
Inspiring
Sep 30, 2024 8:24 PM UTC
Question

Preventing users to press tab button to focus this button while popup is being shown

this is just a prototype, i want to use this code to make prompt window in Actionscript class. so, users can't press tab button outside prompt window. just current window

This topic is closed to new replies. Start a new post to keep the conversation going.

4 replies

JoãoCésar17023019
Community Expert
Community Expert
Oct 1, 2024 12:41 PM UTC

Hi.

 

Set their tabEnabled property to false.

 

Regards,

JC

Translate
fzl_rshd
fzl_rshdAuthor
Inspiring
Oct 3, 2024 12:59 AM UTC

is this work it?

!myInstanceName.tabEnabled = false; // disable focused button on tab key outside this object
Translate
JoãoCésar17023019
Community Expert
Community Expert
Oct 3, 2024 1:04 AM UTC

If you remove the exclamation point in the beginning it should work.

Translate