[Help]MulEditBox

Forum for general chit-chat or off-topic discussion.

Moderators: CEGUI MVP, CEGUI Team

hsl99999
Just popping in
Just popping in
Posts: 5
Joined: Mon Apr 20, 2009 03:44

[Help]MulEditBox

Postby hsl99999 » Mon Apr 20, 2009 03:51

How do I cancel the selection of MulEditBox?

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

Re: [Help]MulEditBox

Postby CrazyEddie » Mon Apr 20, 2009 08:41

Hi, and welcome :)

I think you need: MultiLineEditbox::clearSelection.

HTH

CE.

hsl99999
Just popping in
Just popping in
Posts: 5
Joined: Mon Apr 20, 2009 03:44

Re: [Help]MulEditBox

Postby hsl99999 » Mon Apr 20, 2009 09:35

Thanks!
I am sorry that I did not say clearly,what I mean is how to disable selection.

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

Re: [Help]MulEditBox

Postby CrazyEddie » Mon Apr 20, 2009 10:13

First a correction: you couldn't use that function anyway since it has protected access - so sorry for posting useless info :)

It's not currently possible to disable the selection ability on the editbox widget types. If you just want to disable it visually then setting an empty image to use as the selection brush would work, though beneath the surface the selection would still exist.

CE.

hsl99999
Just popping in
Just popping in
Posts: 5
Joined: Mon Apr 20, 2009 03:44

Re: [Help]MulEditBox

Postby hsl99999 » Tue Apr 21, 2009 01:25

OK,thanks.


Return to “Offtopic Discussion”

Who is online

Users browsing this forum: No registered users and 13 guests