gokujems Posted March 7, 2012 Posted March 7, 2012 Hi, i'm making this post to expose my problem. I'm actually trying to make a function that will return the letter that could be written on the chatbox or on a gui edit for exemple. I don't really know how to make it but i tried to use a gui edit to perform this. Here i explain : I want to set the input focus on a single edit gui whithout any need of clicking on that gui. I want the letter to be drawed on that gui just as if i was editing that edit box but whithout having to click on it. That's my plan to make a function that could return the caracter you want to use like &, ", ', (, { , é, °, à, %, _, etc... Thanks for having red this post.
gokujems Posted March 7, 2012 Author Posted March 7, 2012 Well, to be short, i need to enable the editing of a gui edit whithout having to click on it.
Wojak Posted March 7, 2012 Posted March 7, 2012 https://wiki.multitheftauto.com/wiki/OnClientGUIFocus Nope... this is for detecting the input focus, and He want to set it... for memos: https://wiki.multitheftauto.com/wiki/Gui ... CaretIndex for edits: https://wiki.multitheftauto.com/wiki/Gui ... CaretIndex
gokujems Posted March 7, 2012 Author Posted March 7, 2012 Thanks for all the answers but guiEditSetCaretIndex and guiMemoSetCaretIndex only set the position of the caret into a gui and don't enable the input on that gui. Well, if there's no way to make it, i wonder if it's possible to make a function that could return the symbol of a pressed key, i mean just like the chatbox when you write something, it directly detects what you write. For exemple, if you wanna write " çàéurj,éàthgé,)&=578&48"8&5 " then you'll see it on the chat and that's actually what i want to return from the function.
50p Posted March 7, 2012 Posted March 7, 2012 What about https://wiki.multitheftauto.com/wiki/GuiBringToFront ?
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