I would like to ask you, what should I use when I want to get text from TextEditBox. I have observer, which listens for chages(when user hits enter, method Update from Observer is called). The only thing that I dont know is how to get text, that has been placed into text edit box. I know that dialog observer, has method GetTextControlData, but I have Panel...
You can get text using ITextControlData interface. Like this:
|InterfacePtr<IControlView> iCtrlView(this, UseDefaultIID());|
|if(!iCtrlView) break; // put some assert message|
|InterfacePtr<ITextControlData> iTextData(iCtrlView, UseDefaultIID());|
|if(!iTextData) break; // put some assert message|
|PMString theString = iTextData->GetString()|
Europe, Middle East and Africa