Framework which allows you to create custom dx editbox.
new
dxEditBox.new(x, y, w, h, name, type, maxCharacters, mask, visible)
destroy
dxEditBox:destroy()
destroyAll
dxEditBox:destroyAll()
setText
dxEditBox:setText(text)
getText
dxEditBox:getText()
setVisible
dxEditBox:setVisible(bool)
resetAllText
dxEditBox:resetAllText()
local editbox
local screenW, screenH = guiGetScreenSize()
local function togglePanel()
if not editbox then
editbox = dxEditBox.new(0, 0, screenW / 2, screenH / 2, "teste", "text", 100, false, true) --// Create an instance
else
editbox:destroy() --// Destroy instance
end
end