Uses 911K of libraries. Click here for Pure Java version (8270L/42K).
!7 cmodule GrabKeyboardFocus > DynTextArea { !include #1023104 // +Enabled switchable double interval = 1; start { dm_reloadOnFieldChange interval(); dm_doEvery(interval, r { if (!enabled || dm_osBootingOrShuttingDown()) ret; dm_activateOSAndModule(); grabFocus(textArea); moveCaretToEnd(textArea); }); } }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1027396 |
| Snippet name: | Grab Keyboard |
| Eternal ID of this version: | #1027396/6 |
| Text MD5: | 05c5fca9aab6858961b3f37d4277b332 |
| Transpilation MD5: | b7d313aa7de0f250f1a8aa1d54737a7e |
| Author: | stefan |
| Category: | |
| Type: | JavaX source code (Dynamic Module) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-04-09 20:27:11 |
| Source code size: | 354 bytes / 17 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 433 / 3006 |
| Version history: | 5 change(s) |
| Referenced in: | -