Accessing properties and Methods Programmatically

Verify that each of the properties and methods can be called programmatically. Pass invalid values and incorrect data types to ensure that errors returned are acceptable. Pay special attention to control members that have name conflicts with extender-object member names. For example, if your custom control has a property also called Enabled, or a method SetFocus or Undo, ensure that you try to access these members programmatically with and without the ".object." syntax.