[SOLVED] How to set focus in Widget?

Buckcherry

01-02-2009 21:31:43

Hi everybody,

How could I set the focus in a Widget?.

I want that when I run my appication the cursor was automatically to a Edit widget.

Thanks.

my.name

01-02-2009 21:38:37

MyGUI::InputManager::getInstance().setKeyFocus(MyGUI::WidgetPtr _widget);

Buckcherry

01-02-2009 21:51:00

Thanks!.

I used:

MyGUI::InputManager::getInstance().setKeyFocusWidget(MyGUI::WidgetPtr _widget);

:)