Hi,
How can I make a button with rounded corners ?
Hi,
How can I make a button with rounded corners ?
local oDlg, oBtn
DEFINE DIALOG oDlg SIZE 250,250 PIXEL TRUEPIXEL
@ 20,20 BTNBMP oBtn PROMPT "ROUND1" SIZE 200,100 PIXEL OF oDlg FLAT COLOR CLR_WHITE,CLR_GREEN NOBORDER
oBtn:nRound := 60
@ 160,20 BTNBMP oBtn PROMPT "ROUND2" SIZE 200,60 PIXEL OF oDlg FLAT COLOR CLR_WHITE,CLR_HRED NOBORDER
oBtn:nRound := 30
ACTIVATE DIALOG oDlg CENTERED
Thanks.
However, the rounded corners do not look very good. Pixel steps are visible to the naked eye
Hi, My be Rbtn is that you're looking for.
Regards.
Hi, D.Fernandez
Can I go into more detail ?
Hola,
Puedes verlo en testrbtn en fwh\samples
saludos