[RESOLVED] Show keyboard in code and that "wait animation"
Is it appropriate to force the keyboard to show - like when you are asking for a password? Or do you expect the user to toggle the keyboard on and off themselves?
How would you toggle the keyboard in code?
Also - if you are about to initiate a long operation - how do you show that "wait animation" that I see sometimes?
VS2005...
Re: Show keyboard in code and that "wait animation"
Hi,
pop an input panel on your form, and on the gotfocus event of the textbox you are interested in do inputpanel1.enabled = true. On the lostfocus event, inputpanel1.enabled = false.
For the cursor, same as the full framework - Cursor.Current = Cursors.WaitCursor and Cursor.Current = Cursors.Default
Pete
Re: Show keyboard in code and that "wait animation"
Thanks!
Is it appropriate though? Do you do that in you mobile apps?
Re: Show keyboard in code and that "wait animation"
if u have a device with a keyboard then there is no need to use a SIP....
however if you dont it is better to popup a keyboard and also maybe move the form or panel y position -80 if the textbox is in the part of the screen where the SIP will show...
Re: Show keyboard in code and that "wait animation"