botanist Posted November 4, 2010 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? Handling editor | Modloader
12p Posted November 4, 2010 Posted November 4, 2010 https://wiki.multitheftauto.com/wiki/GuiSetInputEnabled I think that's the function you want. If you have problems, post it
dzek (varez) Posted November 4, 2010 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. Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
botanist Posted November 4, 2010 Author 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! Handling editor | Modloader
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