Hi,
How can I make a button with rounded corners ?
button
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: button
Code: Select all
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
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: button
Thanks.
However, the rounded corners do not look very good. Pixel steps are visible to the naked eye
However, the rounded corners do not look very good. Pixel steps are visible to the naked eye
-
- Posts: 392
- Joined: Wed Jul 31, 2013 1:14 pm
- Location: Maldonado - Uruguay
- Contact:
Re: button
Hi, My be Rbtn is that you're looking for.
Regards.
Regards.
Dario Fernandez
FWH, Harbour, BCC, MySql & MariaDB, tData, Dbf/Cdx
VSCode.
Maldonado - Uruguay
FWH, Harbour, BCC, MySql & MariaDB, tData, Dbf/Cdx
VSCode.
Maldonado - Uruguay
Re: button
Hi, D.Fernandez
Can I go into more detail ?
Can I go into more detail ?
-
- Posts: 392
- Joined: Wed Jul 31, 2013 1:14 pm
- Location: Maldonado - Uruguay
- Contact:
Re: button
Hola,
Puedes verlo en testrbtn en fwh\samples
saludos
Puedes verlo en testrbtn en fwh\samples
saludos
Dario Fernandez
FWH, Harbour, BCC, MySql & MariaDB, tData, Dbf/Cdx
VSCode.
Maldonado - Uruguay
FWH, Harbour, BCC, MySql & MariaDB, tData, Dbf/Cdx
VSCode.
Maldonado - Uruguay