Wow! That caused a great deal of interest! For further explanation, the following code is in the base class that is being subclassed onto the form
IF TYPE('THISFORM.pcSecRights')= 'C' AND THISFORM.pcMode <> 'A'
RETURN .F.
ENDIF
I want to add the following code to the When event of the textbox once it has been instantiated:
IF !DODEFAULT()
RETURN .F.
ENDIF
IF THISFORM.pcMode = 'A' AND EMPTY(THIS.VALUE)
THIS.VALUE = THIS.Parent.PickField1.Value
ENDIF
Time is a wonderful teacher. Unfortunately it kills all of its students.