Solved

Easy numeric data entry in DBGRID

Posted on 2000-02-20
4
306 Views
Last Modified: 2008-02-26
Dear experts,

How can I make "easy to read numeric" data entry in dbgrid which is displayed from "right to left" and "seperated by comma" while you enter numeric value (in edit state)?

Ex:
______1
_____12
____123    
__1,234

Every field has DisplayFormat and EditFormat properties. DisplayFormat has effect only when that field has lost focus. And EditFormat does not solve the problem.

Please help me!
0
Comment
Question by:mitat
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 9

Expert Comment

by:ITugay
ID: 2541580
listening...
0
 
LVL 6

Expert Comment

by:Jaymol
ID: 2541989
Whenever you alter a field, make it refresh the grid.  That should apply the formatting changes.

John.
0
 
LVL 6

Accepted Solution

by:
Jaymol earned 100 total points
ID: 2541994
Actually, ignore that....the only thing I could suggest is to create a TEdit control over the cell that's being edited and take data directly from that into the grid.  You can format the TEdit control yourself quite easily.  If you want an example, let me know your email address and I'll forward you something.

John.
0
 

Author Comment

by:mitat
ID: 2545630
I prefer a custom grid which handles all type of data correctly.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Dev Express grid collapse 2 52
Delphi android app hide keyboard 3 77
Get weeknumber and year from date 4 53
Delphi Firemonkey : user drawing in window 3 52
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

734 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