Deltanic Posted November 4, 2010 Share Posted November 4, 2010 How to do that? I know how to change the position of the caret, but this seems to do nothing with the focus. Is that probably because my script is wrong, or is there another way to set the focus into an edit box? Link to comment
12p Posted November 4, 2010 Share Posted November 4, 2010 https://wiki.multitheftauto.com/wiki/GuiSetInputEnabled I think that's the function you want. If you have problems, post it Link to comment
dzek (varez) Posted November 4, 2010 Share Posted November 4, 2010 this is not what he needs. better explained: you have 3 edit fields. and you want to set focus (move caret) to 2nd one. afaik - impossible. but maybe theres a way thats why he asked. Link to comment
Remp Posted November 4, 2010 Share Posted November 4, 2010 use guiBringToFront on the edit box 1 Link to comment
Deltanic Posted November 4, 2010 Author Share Posted November 4, 2010 https://wiki.multitheftauto.com/wiki/GuiSetInputEnabledI think that's the function you want. If you have problems, post it That disables all MTA keybinds, nothing more. this is not what he needs. better explained:you have 3 edit fields. and you want to set focus (move caret) to 2nd one. afaik - impossible. but maybe theres a way thats why he asked. True use guiBringToFront on the edit box Thank you! Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now