?
Solved

Edit control (not DB) that will only take float (currency)

Posted on 1998-06-04
1
Medium Priority
?
239 Views
Last Modified: 2010-04-06
Is there an edit field (not DB) that will act as a mask to force valid currency value to be entered ?
0
Comment
Question by:ymailhot
1 Comment
 
LVL 2

Accepted Solution

by:
kjteng earned 120 total points
ID: 1350539
Use TMaskEdit instead of tEdit
set the editMask to the format you want eg: 00000\.00;0; 999999\.00;0; etc
Read the help on EditMask for further details.
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Integration Management Part 2
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month9 days, 11 hours left to enroll

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question