Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

I'm using button and text widget in recurrence screens. Here, when i
select an option, at the same time, text widget should get active.
I'm setting focus using IWidget_SetFocus(m_pITextWidget,TRUE);.

The focus is setting but the keys entry is not accepting. When i
touch this text widget once again, then it is accepting key inputs. Is
there any API to make this work initial time only?

You can use IWidget_MoveFocus() on parent (container) of text widget to move the focus to text widget.
E.g. IWidget_MoveFocus(rootContainer, m_pITextWidget);

You can use IWidget_MoveFocus() on parent (container) of text widget to move the focus to text widget.
E.g. IWidget_MoveFocus(rootContainer, m_pITextWidget);