Board index » delphi » Edit masks for DBEdit
Dan Axtell
![]() Delphi Developer |
Fri, 01 Jan 1999 03:00:00 GMT
|
Dan Axtell
![]() Delphi Developer |
Fri, 01 Jan 1999 03:00:00 GMT
Edit masks for DBEditHi, does anyone know what's the easiest way to add an editmask to a DBEdit Thanks for any advice, Dan |
Jasper St
![]() Delphi Developer |
Sat, 02 Jan 1999 03:00:00 GMT
Re:Edit masks for DBEditQuoteDan Axtell <daxt...@connix.com> wrote: Double-click on your TTable or TQuery, add the fields you want and then select it in the Object Inspector to access its properties. Good luck! Jasper PS: please take into consideration |
Jeffrey Lawren
![]() Delphi Developer |
Sat, 02 Jan 1999 03:00:00 GMT
Re:Edit masks for DBEdityou can assign an edit mask to the TField component associated with the In article <31EA698D.2...@connix.com> QuoteDan Axtell <daxt...@connix.com> wrote: |
Brad Ai
![]() Delphi Developer |
Sat, 09 Jan 1999 03:00:00 GMT
Re:Edit masks for DBEditIn article <4sh922$...@news.cc.utah.edu>, Quote>you can assign an edit mask to the TField component associated with the GetText/SetText events of TField components are extremely useful. You can translate the underlying data to/from any presentation and edit format. There is one missing piece though -- you might need to create your own TDBEdit component which suppresses the TDBEdit's call to the TField's key validation routine -- this lets your own component decide what keys are valid. (If someone can suggest a way to avoid calling an inherited method, but to still call the grandparent method, then this could be achieved by inheriting from TDBEdit). We use this for doing things like presenting percentages in decimal format I find edit masks extremely poorly suited to most realistic data-entry -- "The highest responsibility of philosophers is to serve as the |
Sol Barro
![]() Delphi Developer |
Mon, 11 Jan 1999 03:00:00 GMT
Re:Edit masks for DBEditHi There, With regard to the general discusiion on EditMasks, I've got a form with What happens now is that if the user tabs across a date field, on entry Working around this is a real pig. Any comments? |
Nick Spurrie
![]() Delphi Developer |
Tue, 12 Jan 1999 03:00:00 GMT
Re:Edit masks for DBEditIdeas, cheapest to most expensive - 1. Get rid of the dbedit and put a standard tedit in its place. Trap 2. Get a data-aware calendar-dbedit and prevent the user typing in the 3. Get InfoPower 2.0 which has a dbedit which has properly working Nick Spurrier (MoDESoft, UK) |
Brad Ai
![]() Delphi Developer |
Thu, 14 Jan 1999 03:00:00 GMT
Re:Edit masks for DBEditIn article <EQRy7CAcG89xE...@barron.demon.co.uk>, Quote>Hi There, underlying field representation and edit box text representation. If Delphi came with documentation, this would have been clearly explained. -- "The highest responsibility of philosophers is to serve as the |
K&J Pow
![]() Delphi Developer |
Thu, 21 Jan 1999 03:00:00 GMT
Re:Edit masks for DBEditQuoteba...@tor.hookup.net (Brad Aisa) wrote: Quote
SetText events please? TIA |