About Store Forum Documentation Contact



Post Reply 
Detect GUI Objects.
Author Message
Xhizors Offline
Member

Post: #1
Detect GUI Objects.
How can I detect if an GUI Object is active?

I tested like.

if( Gui.ms() == CAST( TextLine, &chatbox ) && Kb.bp( KB_ENTER ) )
{
--Do Stuff..
}

But Gui.ms() return only the object under the mouse, Can I return if an GUI object is active?

Like chatbox.active() = When you enter the text etc.
04-23-2010 12:10 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Detect GUI Objects.
maybe you want Gui.kb - object with keyboard focus?
04-23-2010 12:12 PM
Find all posts by this user Quote this message in a reply
Xhizors Offline
Member

Post: #3
RE: Detect GUI Objects.
(04-23-2010 12:12 PM)Esenthel Wrote:  maybe you want Gui.kb - object with keyboard focus?

I will try it,

One more question, About the Tab control, Is there any way to make so you can't unpress the current active tab?
04-23-2010 12:34 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: Detect GUI Objects.
Tabs::valid
04-23-2010 12:54 PM
Find all posts by this user Quote this message in a reply
Post Reply