Jump to content

Recommended Posts

  • Bot
This is the hidden content, please

Alternative download links →

This is the hidden content, please

 This feature lets EditLine move focus with TAB, SHIFT+TAB, and optionally RETURN (for username/password in login window).
- TAB -> Move to the next edit line
- SHIFT+TAB -> Move to the previous edit line
- AppendTarget(target) enables TAB focus by default.
- AppendTarget(target, True) also moves focus when RETURN is pressed.

Notes:
- You need to add this to every edit line in your UI
- I added an example for uiWhisper but you need to add it to the windows where you only have one editline too 
- When the parent window hides, FocusNavigator clears the saved index and kills focus from its targets => no more KillFocus calls on Close or Hide
- Clicking non-focusable UI will reactivate the game window => no more ghost editlines and blocked UI 


.gif

  • Metin2 Dev 17
  • Flame 1
  • Good 1
  • Love 8

english_banner.gif

Link to comment
https://metin2.dev/topic/34509-enable_ui_tab_focus_system-reversed/
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.