About Store Forum Documentation Contact



Post Reply 
set gui object into focus?
Author Message
krokodilcapa Offline
Member

Post: #1
set gui object into focus?
Hello guys!
I just started to work with Esenthel Engine. I have the first problem, so I need your help. How can I set a gui object into focus? I mean, I created a window, and a TextLine in it. I don't want to use mouse when my window shown, so I need to set the TextLine focused (can write), when the window opened.

thanks, myers90
(This post was last modified: 06-09-2012 04:41 PM by krokodilcapa.)
06-09-2012 11:06 AM
Find all posts by this user Quote this message in a reply
laugan Offline
Member

Post: #2
RE: set gui object into focus?
your_textline_name->activate();
06-09-2012 11:16 AM
Find all posts by this user Quote this message in a reply
krokodilcapa Offline
Member

Post: #3
RE: set gui object into focus?
Thanks for the reply! Haha, I've already tried that one, but it wasn't worked, so I thought this is "activate" is for some other thing. Now I figured out the problem, and the problem was: my textline is a child of a window, so I just had to activate the window, and it worked! smile
(This post was last modified: 06-09-2012 12:23 PM by krokodilcapa.)
06-09-2012 12:10 PM
Find all posts by this user Quote this message in a reply
Post Reply