Jump to content

Put focus on an edit box when opening the window


'LinKin

Recommended Posts

Hello,

I want to set the caret index in an edit box (so that when the player opens the main window, he can start typing in the editbox without having to click on it first)

I tried

-- GUI set Focus (editBox) 
        guiEditSetCaretIndex(editBox, 0) 

But doesn't work

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...