Docs 1.6
Accidentally uploaded outdated 1.6 docs
This commit is contained in:
16
docs/docs1_6/objects/Textfield/getLine.md
Normal file
16
docs/docs1_6/objects/Textfield/getLine.md
Normal file
@@ -0,0 +1,16 @@
|
||||
## getLine
|
||||
Returns the line on index position
|
||||
|
||||
#### Parameteres:
|
||||
1. `number` index
|
||||
|
||||
#### Returns:
|
||||
1. `string` line
|
||||
|
||||
#### Usage:
|
||||
* Prints one line
|
||||
```lua
|
||||
local mainFrame = basalt.createFrame("myFirstFrame"):show()
|
||||
local aTextfield = mainFrame:addTextfield("myFirstTextfield"):show()
|
||||
basalt.debug(aTextfield:getLine(1))
|
||||
```
|
||||
Reference in New Issue
Block a user