qp.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
OVERRIDE Keyword
  Keywords Contents Index                                   Back
 
  Description
 
    In related objects, a parent and child object may both contain a
    method with the same name. However, the method in the child
    object must be qualified with the OVERRIDE keyword. With OVERRIDE
    in effect, the run-time system directs messages to the child's
    method, not to the parent's overridden method.
 
    If you need access to the parent's method, qualify a message with
    INHERITED. When the run-time system encounters a message qualified
    with INHERITED, it ignores the child's method and sends the
    message to the parent's method.
 
  See also:  INHERITED, OBJECT