Isotarge

BizHawk Textbox Example

Sep 30th, 2016
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 KB | None | 0 0
  1. local form = forms.newform();
  2. local textbox = forms.textbox(form);
  3.  
  4. function readvalue()
  5.     local value = forms.gettext(textbox);
  6.     gui.text(2, 70, value);
  7. end
  8. event.onframestart(readvalue);
  9.  
  10. -- See the forms tab at http://tasvideos.org/Bizhawk/LuaFunctions.html for more options
Advertisement
Add Comment
Please, Sign In to add comment