Subject Borderless Buttons with Rounded Corners - Thanks twice
From Carlos Pereira [APKomp] <carlos.pereira@apkomp.pt>
Date Wed, 29 Mar 2023 10:57:49 +0100
Newsgroups dbase.getting-started


> Sorry to abuse but I was going to ask you:
> How to make buttons (or another object that has an onclick event)
> with the following format shown in attachment and used in many side?
>
>


Small change:

...
if this.width <> this.height
   this.width = this.height
endif        
...
hrgn1=CreateRoundRectRgn(x1+nFudge,y1+nFudge,y2-nFudge,y2-nFudge,z,z)

- >

//if this.width <> this.height
//  this.width = this.height
//endif        
...
hrgn1=CreateRoundRectRgn(x1+nFudge,y1+nFudge,x2-nFudge,y2-nFudge,z,z)
...