>Is it possible to, using the format property to limit the input into a textbox? For instance Only three letters - a Y for Yes, an N for No, and an M for Maybe - and have it not lose focus if one of those are not entered. I know how to do it in the Valid method, but was wondering if there was some magic to use in the Format property, or something
>
>Thanks.
This is technically obsoleted (a hangover from pre-VFP days) but it still works and it might do what you want
Set the format property = M (no quotes)
Make the inputmask property = Y,N,M (no quotes)
The user can key the desired result or scroll with the space bar, but nothing else can be entered
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.