Here's an example.

-- Curt Springer, Team ND

        public int this_onAfterInitEvent(CSpInitEvent event)
        {
                int command = PROCEED;
                try
                {
                //call parent method
                command=super.this_onAfterInitEvent(event);
                switch (command)
                        {
                        case PROCEED:
                                break;
                        
                        default:
                                return(command);
                        }//switch (command)
                        
                . . .



At 11:10 AM 5/7/99 -0800, [EMAIL PROTECTED] wrote:
>I know there has been some discussion in the past about using
>super.eventName() to get the event witin a superclass to execute
>when it has been overridden by an extending class. (i.e.
>have both (child and parent) onBeforeDisplayEvent() events fire
>during execution.)
>Could someone please provide the correct syntax on how to do this
>as it doesn't seem to work for me?
>
>Thanks.
>_________________________________________________________________________
>
>For help in using, subscribing, and unsubscribing to the discussion
>forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
>
>For dire need help, email: [EMAIL PROTECTED]
> 
_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to