Thread: editbox
View Single Post
10-09-08, 10:49 AM   #2
Recompense
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: May 2006
Posts: 15
Originally Posted by aetas View Post
ok, i am perty new to lua and i am having troubles geting numbers off the editbox to use for other functions. any help with this would be great.
editbox:GetText() returns the text that's typed into the editbox. You could save this to a variable when the Enter key or a "save" button is pressed (what I usually do), or just leave the text the editbox, hide the editbox, and when you need the text, call GetText() on the box.
  Reply With Quote