Scrolling a MultiLineEditbox

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

darko
Just popping in
Just popping in
Posts: 4
Joined: Fri Feb 24, 2006 13:52
Contact:

Scrolling a MultiLineEditbox

Postby darko » Thu Mar 09, 2006 18:19

Hi there,

I'm trying to make a MultiLineEditbox scrolling without the by hand user intervetion, but when I do this:

Code: Select all

CEGUI::WindowManager& wmgr = CEGUI::WindowManager::getSingleton();
wmgr.getWindow((CEGUI::utf8*)"Menu/Chat")->ensureCaratIsVisible();


the compiler says that CEGUI::Window has not that function, even if I force casting to CEGUI::MultiLineEditbox.

any idea? tnx

User avatar
martignasse
Just can't stay away
Just can't stay away
Posts: 227
Joined: Thu Apr 14, 2005 08:10
Location: Lyon, FRANCE

Postby martignasse » Fri Mar 10, 2006 07:45

hi darko,

You effectivly have to cast the window returned by the manager to MultiLineEditbox.

Show us how you try to cast the wondow, please.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 33 guests