-
Notifications
You must be signed in to change notification settings - Fork 42
Textfield
Robert Jelic edited this page Apr 2, 2022
·
6 revisions
Textfields are objects, where the user can write something on multiple lines. it act's like the default edit script (without coloring)
Here is a example of how to create a default textfield:
local mainFrame = CreateFrame("myFirstFrame"):show()
local aTextfield = mainFrame:addTextfield("myFirstTextfield"):show()This will create a default input with the size 10 width and 4 height on position 1 1 (relative to its parent frame), the default background is colors.gray, the default text color is colors.black and the default zIndex is 5.
Here are all possible functions available for textfields. Remember textfield inherit from object:
There are currently no customizable functions, maybe i will add some in the future
Thanks for checking out our wiki, join our discord for more help: discord.gg/yM7kndJdJJ