Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / June 2007

Tip: Looking for answers? Try searching our database.

Add a popup soft input panel to a TextBox

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Doug Crawford - 29 Jun 2007 21:48 GMT
I would like to create an inherited TextBox control that pops up a small
numeric keypad when it receives focus.  The problem is, if I use a
UserControl for the keypad the focus will shift away from the TextBox
when the user taps one of the keys.  Is there anyway I can somehow
create the same affect without loosing focus?
Fabien - 29 Jun 2007 22:26 GMT
Hi,

You can call youTextBox.Focus(); to set the focus on the textBox when
you click on a button.

BR

Fabien Decret
Windows Embedded Consultant

ADENEO (ADESET)
http://www.adeneo.adetelgroup.com/ | http://fabdecret.blogspot.com/

> I would like to create an inherited TextBox control that pops up a small
> numeric keypad when it receives focus.  The problem is, if I use a
> UserControl for the keypad the focus will shift away from the TextBox
> when the user taps one of the keys.  Is there anyway I can somehow
> create the same affect without loosing focus?
Doug Crawford - 30 Jun 2007 00:12 GMT
This kind of works, but the TextBox momentarily looses focus which
causes the validation to run.  Is there any way to extend the
ClientRectangle so that I can capture mouse clicks outside the TextBox
and never loose focus?

> Hi,
>
[quoted text clipped - 14 lines]
>> when the user taps one of the keys.  Is there anyway I can somehow
>> create the same affect without loosing focus?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.