Click to See Complete Forum and Search --> : [RESOLVED] Show keyboard in code and that "wait animation"
szlamany
Mar 31st, 2007, 04:57 PM
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...
petevick
Apr 1st, 2007, 02:15 AM
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
szlamany
Apr 1st, 2007, 06:31 AM
Thanks!
Is it appropriate though? Do you do that in you mobile apps?
Strider
Apr 1st, 2007, 07:44 AM
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...
szlamany
Apr 1st, 2007, 10:14 AM
Thanks again!
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.