Files
Basalt/docs/docs1_6/objects/Textfield/getLine.md
Robert Jelic d4c72514ef Docs 1.6
Accidentally uploaded outdated 1.6 docs
2023-05-01 16:28:46 +02:00

321 B

getLine

Returns the line on index position

Parameteres:

  1. number index

Returns:

  1. string line

Usage:

  • Prints one line
local mainFrame = basalt.createFrame("myFirstFrame"):show()
local aTextfield = mainFrame:addTextfield("myFirstTextfield"):show()
basalt.debug(aTextfield:getLine(1))