|
-
Mar 31st, 2007, 04:57 PM
#1
[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...
-
Apr 1st, 2007, 02:15 AM
#2
Frenzied Member
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
-
Apr 1st, 2007, 06:31 AM
#3
Re: Show keyboard in code and that "wait animation"
Thanks!
Is it appropriate though? Do you do that in you mobile apps?
-
Apr 1st, 2007, 07:44 AM
#4
Fanatic Member
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...
Barry
Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
.NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0
SQL Server 2005/2000/SQL Server CE 2.0
If you like, rate this post
Compact Framework for Beginners
-
Apr 1st, 2007, 10:14 AM
#5
Re: Show keyboard in code and that "wait animation"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|