Board index » delphi » How to make a beveled button?

How to make a beveled button?

I have a program that makes rectagle buttons on the fly by drawing on a
bitmap canvas. How can I make those buttons have a beveled edge? I am using
Builder but i can read delphi code pretty well.

Thanks,

Marc

 

Re:How to make a beveled button?


On Fri, 17 Mar 2000 11:35:42 -0500, "Sault Custom Programming"

Quote
<s...@scp.on.ca> wrote:
> How can I make those buttons have a beveled edge?

There are a variety of ways to accomplish this goal. Probably the two
easiest are: 1) Use the Frame3D routine in the Graphics unit, or 2)
use the DrawEdge routine in the Windows API.
--
Rick Rogers (TeamB)
www.fenestra.com and www.componentfactory.com

Re:How to make a beveled button?


Quote
Sault Custom Programming wrote:

> I have a program that makes rectagle buttons on the fly by drawing on
> a
> bitmap canvas. How can I make those buttons have a beveled edge? I am
> using
> Builder but i can read delphi code pretty well.

> Thanks,

> Marc

Did you look at my_butt?
In that unit you can find source to make (semi-transparent) shadowy
edges to buttons. It's at my donwloadpage.

Remco
http://www.xs4all.nl/~remcodek/

Re:How to make a beveled button?


On Fri, 17 Mar 2000 20:58:47 +0100, Remco de Korte

Quote
<remco...@xs4all.nl> wrote:
> Did you look at my_butt?

No thanks, that is too {*word*201} for my taste.
--
Rick Rogers (TeamB)
www.fenestra.com and www.componentfactory.com

Other Threads