Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Explorer ,
Sep 30, 2024 Sep 30, 2024

Cuplikan layar 2024-10-01 031840.png

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

TOPICS
ActionScript
304
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 01, 2024 Oct 01, 2024

Hi.

 

Set their tabEnabled property to false.

 

Regards,

JC

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 02, 2024 Oct 02, 2024

is this work it?

!myInstanceName.tabEnabled = false; // disable focused button on tab key outside this object
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 02, 2024 Oct 02, 2024

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 03, 2024 Oct 03, 2024
LATEST

i mean that exclamation symbol is disabling tabEnabled objects except selected object without wasting time to code many tabEnabled = false;

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines