Posted on 1998-12-23
In paradox when you wanted to limit the information a user was able to enter, you could apply a picture. I want to duplicate this in Delphi and have had no luck. I can get the first part of it to work but am stumped on the rest.
I have a field that will be 10-0xxxx. (x being any number)I need to add to that there could be a condition where the field would be 10-0xxxx-x. I would like to know how to get the - to appear only when there is something behind it. Using the editmask in the fields editor modifies the data so that they all include the -. I am using Delphi 3/4 and Interbase 5.1. Any help would be appreciated.