********************************************************************************** * Code from "Control Valid() Fires Even When Read-Only" - FoxPro Advisor, May 2003 ********************************************************************************** IF THIS.READONLY RETURN .T. ENDIF ********************************************************************************** * NOTE: If ReadOnly = .F., still returns .T.txtSubClass.Valid()
DODEFAULT() * If the control is ReadOnly, I don't want this to occur! IF EMPTY(THIS.VALUE) RETURN .F. ENDIFWhat's a common way to handle this?