Files
Basalt/docs/objects/Textfield/editLine.md
Robert Jelic 4d614372a1 Updated docs
There is still stuff to do
2022-08-28 18:18:26 +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!"))