Use Class Outline to easily override methods in your control's inherited classes. The overridden method code that is created by Class Outline provides a head start in implementing the method in your control's class. You can use the comments provided by Class Outline in your overridden method code to quickly determine where to add your own code.
To override a method using Class Outline
If the method can be overridden, the shortcut menu displays Override Method.
Class Outline adds a method definition for the specified method to your source code.
add
, getControl
, getControlCount
, getControls
, remove
, and setText
methods.The next step is to add code to the overridden methods.