in

ASP.NET Weblogs

Philip Rieck

Phil in .net

Sharing my oft-used Ink controls, part 1.

I do a good amount of TabletPC development, pretty much mostly for myself.  I have lots of fun and useful apps that do things I need, and some apps I use to demo the Tablet to others..

And, like any developer, I hate to redo work.  So I created a library of controls that I use that I can drop-in.  I showed these to a friend today and she said “Share with the world!”.  So here you are.  This is the first one that I would even consider letting anyone else look at, and it's not a control I'd consider anywhere near polished.  But perhaps you other TabletPC developers out there can use and adapt this to reduce some of the “gruntwork”.

So, here's the TabletTextbox - it's an Ink input control that I use on a lot of forms to quickly input text / numbers whatever.  It allows quick retrieval of the recognized text with the .Text property, and can optionally show a field label and / or the recognized text inside the control (each can be put in one of the four corners, or omitted).

Here's a runtime screenshot of four instances of it with different properties:

And here's where to get the source for the TabletTextBox

Feel free to do what you want with it. If you find nasty bugs, comment here and I may fix them. Even better, if you fix the nasty bugs or add features, comment here if you like so that I can use those fixes myself!

[cross-posted from Philip Rocks, Philip Rieck's new-ish real blog - here.]


Published Jan 21 2004, 10:12 PM by philipr
Filed under:

Comments

No Comments

Leave a Comment

(required)  
(optional)
(required)  
Add