Edit box testing : (EditBox attached to TabControl attached to DefaultWindow)
Left click within edit box - it gets input.
Left click outside all gui components - on landscape in my case - It does not clear input capture of edit box.
Where this causes me a problem is that I am also processing my own mouse/keyboard events. The gui keeps saying it is processing the key injections even if I have clicked out of the edit box.
Is this working as designed ?
Any ways I can work around it ?
One other weird thing i noticed was that tab text changed as input text was entered. Not sure if I had everything set right.
Mouse Enter/Leave
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Mouse Enter/Leave
Hi,
The reason that it's not deactivated is likely due to whatever you click 'outside' the editbox being a direct ancestor of the editbox itself.
The work around for this is to catch the click event (on the root window for example), and then do:
Which should give you what you need.
The reason that it's not deactivated is likely due to whatever you click 'outside' the editbox being a direct ancestor of the editbox itself.
The work around for this is to catch the click event (on the root window for example), and then do:
Code: Select all
myEditbox->deactivate();
Which should give you what you need.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Re: Mouse Enter/Leave
I had a similar problem with my console. Check if you inject mouse_button_up events in gui. That was the problem in my case, I only injected button_down 

Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 12 guests