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

360 B

editLine

Edits the line on index position

Parameteres:

  1. number index
  2. string text

Returns:

  1. object The object in use

Usage:

  • Edits the line
local mainFrame = basalt.createFrame("myFirstFrame"):show()
local aTextfield = mainFrame:addTextfield("myFirstTextfield"):show()
basalt.debug(aTextfield:editLine(1, "Hello!"))