I would like to suggest an enhancement to 'INPUTMASK' and
'DYNAMICINPUTMASK' - to add an option to 'prevent any data entry'.
Reason - there are several ways to simulate 'dynamicReadonly' but this
option to INPUTMASK would facilitate this easily.

Mike Farnesi
San Diego

Re: Suggestion for INPUTMASK by Craig

Craig
Fri Mar 31 10:27:16 CST 2006

I don't see this happening. You can simply set the control's ReadOnly
property to .T.

--
Craig Berntson
MCSD, Visual FoxPro MVP
www.craigberntson.com
Salt Lake City Fox User Group
www.slcfox.org
www.foxcentral.net


<mfarnesi@yahoo.com> wrote in message
news:1143744573.157788.14670@z34g2000cwc.googlegroups.com...
>I would like to suggest an enhancement to 'INPUTMASK' and
> 'DYNAMICINPUTMASK' - to add an option to 'prevent any data entry'.
> Reason - there are several ways to simulate 'dynamicReadonly' but this
> option to INPUTMASK would facilitate this easily.
>
> Mike Farnesi
> San Diego
>



Re: Suggestion for INPUTMASK by mfarnesi

mfarnesi
Fri Mar 31 12:44:52 CST 2006

Then what would be the best way to simulate "dynamic readonly" where I
only want certain records of a certain field 'readonly' ?


Re: Suggestion for INPUTMASK by Fred

Fred
Sat Apr 01 11:18:12 CST 2006

Then use one of the other Dynamic properties something like this:

In your grid class or on your form, create a method MyDynamicRO and use the
column's .DynamicForeColor="thisform.MyDynamicRO()" that contains code like:

thisform.grid1.column1.readonly=(your condition to test for here)
RETURN thisform.grid1.column1.forecolor



--
Fred
Microsoft Visual FoxPro MVP


<mfarnesi@yahoo.com> wrote in message
news:1143830692.082803.220550@j33g2000cwa.googlegroups.com...
> Then what would be the best way to simulate "dynamic readonly" where I
> only want certain records of a certain field 'readonly' ?
>