Editbox widget editing bug

Discussion regarding the development of CEGUI itself - as opposed to questions about CEGUI usage that should be in the help forums.

Moderators: CEGUI MVP, CEGUI Team

User avatar
nfz
Not too shy to talk
Not too shy to talk
Posts: 27
Joined: Wed Jan 12, 2005 12:06

Editbox widget editing bug

Postby nfz » Sun Aug 08, 2004 23:16

The Editbox does not check the status of its ReadOnly property when keystrokes are sent to the widget. When the ReadOnly property is true the user can still add to the contents of the edit box. The delete and backspace work properly since the handlers do check the ReadOnly property. I submitted a patch that corrects the problem in onKeyDown() and onCharacter().

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Editbox widget editing bug

Postby CrazyEddie » Mon Aug 09, 2004 08:34

Thanks I'll get this put in today probably. I recently added the check to delete and backspace, I must have missed this :oops:

I'll check the multi-line edit box as well, since this is probably the same :roll:

CE.


Return to “CEGUI Library Development Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest