ResetToDefault
This method was added in version 3.0b, probably because people were so disappointed it wasn't in the original version. It lets you do in code at either runtime or design-time what the "Reset to Default" option on the right-click menu of the Property Sheet does—restore a property or method that's been changed so it inherits from its parent class.
Usage |
oObject.ResetToDefault( cPEM ) |
Example |
IF PEMSTATUS(oObject, "BackColor", 5) * It exists oObject.ResetToDefault("BackColor") ENDIF |
See Also |