Skip to main content
fzl_rshd
Inspiring
September 30, 2024
Question

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

  • September 30, 2024
  • 1 reply
  • 339 views

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 has been closed for replies.

1 reply

JoãoCésar17023019
Community Expert
Community Expert
October 1, 2024

Hi.

 

Set their tabEnabled property to false.

 

Regards,

JC

fzl_rshd
fzl_rshdAuthor
Inspiring
October 3, 2024

is this work it?

!myInstanceName.tabEnabled = false; // disable focused button on tab key outside this object
JoãoCésar17023019
Community Expert
Community Expert
October 3, 2024

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