Subject Re: EXTCOMBOBOX
From Mervyn Bick <invalid@invalid.invald>
Date Mon, 16 Sep 2019 11:04:35 +0200
Newsgroups dbase.getting-started

On 2019-09-16 9:13 AM, Mustansir Ghor wrote:
> Dear Mervyn Sir
>
> Thank you sir.
>
> When i want to assign a funtion to onchange method, it says it has custom method and if I wish to overwrite it. What shall I do here.
>

Say yes. :-)

The onChange event handler in the custom control executes
this.CheckAddString()

If you overwrite the event handler in your form you need to call the
event handler in the custom control.  This can be before, after or in
between your own code depending on what your code needs to do.


function EXTCOMBOBOX1_onChange()
     //add code here if you want it executed
     // before CheckAddString()
     extCombobox::onChange() // execute the original code
     //add code here if you want it executed
     //after CheckAddString()
     return

You could, of course, include you own version of CheckAddString() in
your code in which case you wouldn't execute the original code at all.

Mervyn.