Subject Re: INHERITANCE
From Mustansir Ghor <mustan31@hotmail.com>
Date Wed, 19 Jul 2017 05:44:53 -0400
Newsgroups dbase.getting-started

Dear Mervyn

I tried super::mytabbox_onselchange() but it did not work. Same error

Regards
Mustansir

Mervyn Bick Wrote:

> On 2017-07-19 8:53 AM, Mustansir Ghor wrote:
> > Dear Andy
> >
> > Below is my program example of tab. It works as you indicated. There is one statement with comment //. If I remove the comment slashes and use with super class it does not work. If I were to use super class would the statement be.
> .......
>
> >    function MYTABBOX1_onSelChange()
> >        
> > //      super::onSelChange()
> >          mytabbox::mytabbox_onselchange()
> >          this.parent.text1.text=this.datasource
> >                 
> >    return
> >                 
> >                 
> > endclass
> >
> > class MYTABBOX(parentObj) of TABBOX(parentObj) custom
> >     with (this)
> >        onSelChange = class::MYTABBOX_ONSELCHANGE
> >        onOpen = class::MYTABBOX_ONOPEN
> >        id = 110
> >        height = 22.0
> >        left = 0.0
> >        top = 350.0
> >        width = 465.0
> >        metric = 6
> >        colorHighLight = "WindowText/0x80ffff"
> >        dataSource = 'ARRAY {"Individual Record","Find Record"}'
> >     endwith
> >
> >     function MYTABBOX_onSelChange()
> >        form.pageNo := this.curSel
> >     return
>
>
> The event handler in MyTabBox.cc is named MYTABBOX_onSelChange() not
> onSelChange().  The line that is commented out needs to be
> super::mytabbox_onSelChange() to make it work.
>
>
>
> Mervyn.
>



Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0