remove and insert widget | developer.brewmp.com remove and insert widget | developer.brewmp.com

Developer

remove and insert widget

Forums:

Hi,

I created a text widget.And i was able to enter the characters.
In Handleevent function on AVK_LEFT,i removed the text widget from the IXYContainer and then inserted it at another position.
But now if i type any charaters it not getting entered in the text widget.

I have set the Focus to the text widget after inserting it again,even then i am not able to get the text in the widget.

could u please let me know what i need to do in excess.

Thanks,
Raji.

Just to confirm, you used IWIDGET_MoveFocus() to move the focus to the text widget after inserting it?
-Erik

Just to confirm, you used IWIDGET_MoveFocus() to move the focus to the text widget after inserting it?
-Erik

ebrowne wrote:Just to confirm, you used IWIDGET_MoveFocus() to move the focus to the text widget after inserting it?
-Erik
Hi Erik,
I used "IWIDGET_SetFocus(pMe->piTextWidget,TRUE);"
Regards,
Raji

ebrowne wrote:Just to confirm, you used IWIDGET_MoveFocus() to move the focus to the text widget after inserting it?
-Erik
Hi Erik,
I used "IWIDGET_SetFocus(pMe->piTextWidget,TRUE);"
Regards,
Raji