TextBox and MessageBox problem

TextBox and MessageBox problem

BY 27 Aug 2013 Native Application Development

Hi all,

Suppose there are two or more TextBoxes add to my form and once the user clicks/taps on one of them, then it gets highlighted and it color is changed. This is done by inheriting the IFocusEventListener class and overidding the functions OnFocusGained(). Now i want that once the user clicks a particular button, this focus is lost and none of the textboxes should be selected just as it appears after launching the form. If it is possible then how?
 
Also i would like to know if i can make a popup/MessageBox that has as many buttons as i want. What i found is that there are some fixed style defined in the        enum MessageBoxStyle inside the class FUiCtrlMessageBox and all the examples are shown using those predefined message styles only. Please let me know if that is possible. I yes, how?
 
Thanks in advance…
 

 

Written by