Hi Doug,
I think so. I assume your forms have VFP base classes, not subclasses. I would hack your scx/vcx files to point to subclasses of the VFP base classes--same for the forms. (Of course, back up first.)
REPLACE Class WITH "txtBase", ClassLoc WITH "..\..\Common\Classes\Base.VCX" FOR Class = "textbox"
etc.
The fun part is then to decide how you wish to determine the state of the controls. In the Refresh of each control you might have something like this:
IF This.EnableSecurity
This.ReadOnly = SomeCondition
or
This.Enabled = SomeCondition
ENDIF
There are about one hundred ways of doing this, but it starts with using subclasses so that one change effects all the controls you want to have the same behavior.
>At this point, we are looking for a way to implement 'security' into an existing system. Is there a way to do what you are talking about without having to recreate the fields on all the forms?
>
>Thanks,
>Doug
Charlie