krokodilcapa
Member
|
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 |
|
laugan
Member
|
RE: set gui object into focus?
your_textline_name->activate();
|
|
06-09-2012 11:16 AM |
|
krokodilcapa
Member
|
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!
(This post was last modified: 06-09-2012 12:23 PM by krokodilcapa.)
|
|
06-09-2012 12:10 PM |
|