Recent

Author Topic: DBEdit -> EditMask  (Read 4630 times)

gviger

  • New Member
  • *
  • Posts: 10
DBEdit -> EditMask
« on: June 20, 2008, 03:54:56 am »
How can I use EditMask in DBEdit.

I like to get format in DBEdit field like this:

125.230,00

now I have numeric value that is formated like this:
125230,0


For now I am using Edit and doing conversion

Edit.Text:=Format('%n', [DBEdit.Field.AsFloat]);

DBEdit is set visible to false

What is best option for formating DBEdit fields?

And how can I use EditMask?

 

TinyPortal © 2005-2018