Click here to Skip to main content
Click here to Skip to main content

The Fast Input TextBox Control

, 9 Nov 2006 CPOL
Rate this:
Please Sign up or sign in to vote.
Design time programming sample with fast input textbox control

Sample Image - fTextBox_image.gif

Introduction

When I worked on AMSale project, my boss asked me to develop a control to speed up inputing. Such as, when you have to input bills, you have to input customer info and the problem is how to remember exactly the customer info. So I decide to write this to help inputing faster.

Background (optional)

I've read a source code in this code-project about a multi column combobox, and my control is based on that with some addition design-time programming skill I've show in this project to show how to use verbs, properties-design ...

Using the code

This control helps you to input faster and more exactly. To configure this control, you have to assign values for properties by code or in design mode.

Properties to configred : DataSource (must be on System.Data.DataTable Type), SearchField, KeyField.

SearchField : the control will use this field name to look up and return the text to TextBox.

KeyField     : this field holds the key value for represented item.

 // configure properties of control by code 
<CODE> this.fTextBox.DataSource = dataset11.person;
 this.fTextBox.KeyField = "id";
 this.fTextBox.SearchField = "Name";</CODE>

It's very simple, right?

Points of Interest

History

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Le Nhat Quang
Technical Lead
Vietnam Vietnam
No Biography provided

Comments and Discussions

 
GeneralRemark PinmemberBalazs Zoltan10-Nov-06 4:19 
GeneralRe: Remark PinmemberLN Quang10-Nov-06 6:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.141223.1 | Last Updated 9 Nov 2006
Article Copyright 2006 by Le Nhat Quang
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid