BackgroundImage||doc136529

September 20, 2022

Format

Editbox.BackgroundImage

Describe

Background picture of the input box.

Code Example

image.png

-- create layout window
local APIRootWindow = UI:CreateGUIWindow("API")

--Set the window to the root node of the UI
APIRootWindow.Parent = UI.Root

--According to the name to get the Editobox control for testing
local editbox = APIRootWindow.APIEditbox

--Set the background color of the selected part of the input box control
editbox.BackgroundImage = "asset/Texture/GUI/slider_thumb.png"