Skip to content
Robert Jelic edited this page May 2, 2022 · 8 revisions

With input's you are able to create a object where the user can type something in.

Here are all possible functions available for inputs:
Remember input inherits from object:

setInputType

changes the input type

local mainFrame = basalt.createFrame("myFirstFrame"):show()
local aInput = mainFrame:addInput("myFirstInput"):setInputType("password"):show()

parameters: string value ("text", "password", "number")
returns: self

Wiki Navigation

Home
Clone this wiki locally