| |
SmartText |
| |
|
| |
SmartText is a powerful Visual
FoxPro textbox class with the following functionality: |
| |
|
 |
1)
Auto complete: Completes text as you type
it. When you type a letter the class looks up previous
entries in the data table for possible matches and
if found automatically completes the text . In the
example below, the user typed "a" and
the class matched that to a company in the table
and highlighted the automatically filled part of
the text. To turn this feature on, simply set the
property cb_lSmartFill to .T. |
| |
|
| |
 |
| |
|
 |
2)
Email support: You can set up this class
for email address entry. Users can double click
on this box to launch the default email client and
start a new message. The email address in this box
is automatically passed to the "To" part
in the email message. To turn this feature on, simply
set the property cb_nType of the class to 2. |
| |
|
 |
3)
Web support: You can use the SmartText class
for http addresses. Users can double click on a
box with a URL in it to launch their default web
browser and automatically go to the URL. To turn
this feature on, simply set the property cb_nType
of the class to 1. |
| |
|
 |
4)
Phone support: You can also use the SmartText
class for entering phone numbers. Once a phone number
is entered, the user can double click on this box
to dial the number with Windows Dialer (requires
a modem). To turn this feature on, simply set the
property cb_nType of the class to 3. |
| |
|
 |
5)
Name entry support: The SmartText class contains
a property called cb_proper. When you set this property
to .T. the class will format the entered text to
proper capitalization. This is useful for helping
users to get the correct capitalization while entering
names, cities, etc. |
| |
|