|
Home
History
Products
Reference
Experience
Contacts
|
Introduction
AmtCtrl (Amount
Control)
is a Active X Control that allows containers such
as Visual Basic applications and WEB sites to
implement amount fields with ease and simplicity.
This control operates like a standard amount
field of a financial calculator. The amount is
typically displayed with a dollar ($) sign,
commas (,), and a decimal point (.). A typical
amount looks like: $1,234.56. As digits are
entered, the amount is display from right to left
with the amount editing characters being
automatically added. The user just enters digits.
Put this control on a form just as you would a
typical TextBox. Adjust any Properties, add
Methods, and process Events. Leave all the
validation, edit masking, and storage up to this
AmtCtrl.
Functionality
AmtCtrl supports the Constituent Properties,
Methods, and Events of the standard TextBox, plus
many more new properties specific to this control.
You can specify minimum and maximum allowable
values. If the minimum value is zero, this value
will never go negative. Special operations occur
when the "+" or "-" key is
pressed. You can paste values into this field.
You can tell this control to display error
messages or not display error messages. When
focus is given to this field, you can specify if
you want the entire amount selected or just leave
the cursor in where it was last positioned. You
can save the current value for later retrieval.
An error Event is provided to process all error
conditions.
Uses
If you development software programs that require
the displaying and/or entering of financial
amounts, and your development tool(s) supports
Active X technology, then this control is for you.
Demo
Following is a simple "Amount Adding Machine"
demo utilizing this control and some VBScripts.
Just click in the Amount box and enter an amount
followed by depressing the "+" or
"-" key. Press the "C" key to
clear the fields.
Amount Adding Machine
Download User's Document: AmtCtrl(doc).zip
Download Evaluation Control: AmtCtrl(ocx).zip
|