I have to convert a legacy clipper app to delphi, and it involves a lot of entries in a format nn.nn where nn.nn is a number between 0 and 10
In the clipper app (using @ SAY Gets) the picture clause "99.99" allows the user to enter (say):
5
5.0
6.15
.6
and all are accepted and displayed correctly as the data enters.
Also by defaulting the vaues to 0 the "mask" displays as "0.00".
The commissioners of this project have decreed that the edits must behave exactly like those in the Clipper app.
I have tried looking at various maskedits, but none seem to mimic this behaviour.
Does anyone know of how to do this in Delphi (4 or 7)?
Many thanks
Roger
In the clipper app (using @ SAY Gets) the picture clause "99.99" allows the user to enter (say):
5
5.0
6.15
.6
and all are accepted and displayed correctly as the data enters.
Also by defaulting the vaues to 0 the "mask" displays as "0.00".
The commissioners of this project have decreed that the edits must behave exactly like those in the Clipper app.
I have tried looking at various maskedits, but none seem to mimic this behaviour.
Does anyone know of how to do this in Delphi (4 or 7)?
Many thanks
Roger