Updated Textfield (markdown)
14
Textfield.md
14
Textfield.md
@@ -1 +1,13 @@
|
|||||||
WIP
|
Textfields are objects, where the user can write something on multiple lines. it act's like the default edit script (without coloring)<br>
|
||||||
|
Here is a example of how to create a default textfield:
|
||||||
|
|
||||||
|
````lua
|
||||||
|
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](https://github.com/NoryiE/NyoUI/wiki/Object):
|
||||||
|
|
||||||
|
There are currently no customizable functions, maybe i will add some in the future
|
||||||
|
|||||||
Reference in New Issue
Block a user