Subject Re: Fields do not blank on "Append"
From Mervyn Bick <invalid@invalid.invalid>
Date Fri, 11 Aug 2017 15:17:24 +0200
Newsgroups dbase.getting-started

On 2017-08-11 3:12 PM, Bob McKinney wrote:
> Hi Ken: Yes.  See my pushbutton code used in my toolbars.
>
> class AddRowButton(oParent) of MyPushbutton(oParent) ;
>         from "MyControls.cc" custom
>     this.text := "Add Bill"
>     fontSize = 8
>     this.colorNormal = "Black/0x8080ff"
>     function onClick
>             form.rowset.beginAppend()
>     return
>
>     function onMouseOver
>             this.colorNormal = "Black/Yellow"
>     return
>
>     function onMouseOut
>             this.colorNormal = "BtnText/0x8080ff"
>     return
>
> endclass
>
>
>      What is strange to me is that this code works as expected on some forms and not on others.  Thanks for the CB............Bob
>

The first thing to check on the forms where it doesn't work is that you
actually have a rowset assigned to the form's rowset property.


Mervyn.