 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Tex Guest
|
Posted: Thu May 20, 2004 6:23 pm Post subject: Inactive button bmp |
|
|
Given a color bitmap to be used on a button, does anyone know
how to create an "inactive" version of the bmp, i.e. gray outline.
Any programs to auto-convert a bmp to an "inactive" version of
the image?
Thanks,
--tex
|
|
| Back to top |
|
 |
Mike Shkolnik Guest
|
Posted: Thu May 20, 2004 9:12 pm Post subject: Re: Inactive button bmp |
|
|
******************************
Delphi tip#137: create disabled bitmap
http://www.scalabium.com/faq/dct0137.htm
******************************
--
With best regards, Mike Shkolnik
E-mail: [email]mshkolnik (AT) scalabium (DOT) com[/email]
WEB: http://www.scalabium.com
"Tex" <tampatex (AT) ix (DOT) netcom.com> wrote
| Quote: | Given a color bitmap to be used on a button, does anyone know
how to create an "inactive" version of the bmp, i.e. gray outline.
Any programs to auto-convert a bmp to an "inactive" version of
the image?
Thanks,
--tex
|
|
|
| Back to top |
|
 |
eshipman Guest
|
Posted: Thu May 20, 2004 9:46 pm Post subject: Re: Inactive button bmp |
|
|
In article <40ad263a (AT) newsgroups (DOT) borland.com>, [email]mshkolnik2002 (AT) ukr (DOT) net[/email]
says...
| Quote: | ******************************
Delphi tip#137: create disabled bitmap
http://www.scalabium.com/faq/dct0137.htm
******************************
--
With best regards, Mike Shkolnik
E-mail: [email]mshkolnik (AT) scalabium (DOT) com[/email]
WEB: http://www.scalabium.com
"Tex" <tampatex (AT) ix (DOT) netcom.com> wrote in message
news:40acf7a8$1 (AT) newsgroups (DOT) borland.com...
Given a color bitmap to be used on a button, does anyone know
how to create an "inactive" version of the bmp, i.e. gray outline.
Any programs to auto-convert a bmp to an "inactive" version of
the image?
Thanks,
--tex
Mike, your site is returning 404... |
|
|
| Back to top |
|
 |
Serge Dosyukov (Dragon So Guest
|
Posted: Thu May 20, 2004 11:52 pm Post subject: Re: Inactive button bmp |
|
|
work on my side
good article
"eshipman" <mr_delphi_developer@yahoo!!!.com> wrote
| Quote: | In article <40ad263a (AT) newsgroups (DOT) borland.com>, [email]mshkolnik2002 (AT) ukr (DOT) net[/email]
says...
******************************
Delphi tip#137: create disabled bitmap
http://www.scalabium.com/faq/dct0137.htm
******************************
--
With best regards, Mike Shkolnik
E-mail: [email]mshkolnik (AT) scalabium (DOT) com[/email]
WEB: http://www.scalabium.com
"Tex" <tampatex (AT) ix (DOT) netcom.com> wrote in message
news:40acf7a8$1 (AT) newsgroups (DOT) borland.com...
Given a color bitmap to be used on a button, does anyone know
how to create an "inactive" version of the bmp, i.e. gray outline.
Any programs to auto-convert a bmp to an "inactive" version of
the image?
Thanks,
--tex
Mike, your site is returning 404...
|
|
|
| Back to top |
|
 |
Rudy Velthuis (TeamB) Guest
|
Posted: Fri May 21, 2004 12:00 am Post subject: Re: Inactive button bmp |
|
|
Serge Dosyukov (Dragon Soft) wrote:
| Quote: | Mike, your site is returning 404...
work on my side
|
Works for me now. Didn't work earlier on. I also had a 404 before.
--
Rudy Velthuis (TeamB)
|
|
| Back to top |
|
 |
Tex Guest
|
Posted: Fri May 21, 2004 7:10 pm Post subject: Re: Inactive button bmp |
|
|
Mike,
I tried #137 and resulting bmp was just bmp of clBtnFace (I think?),
a solid square same size as original at any rate.
MonoBmp was all black.
DDB was same as my orig bmp.
Any ideas?
I tried orig bmp which was 256 colors,
then tried orig changed to 16 million colors,
then tried orig changed to grayscale,
then tried orig with Transparancy set (reuired 256 colors),
and all same result.
--tex
|
|
| Back to top |
|
 |
Mike Shkolnik Guest
|
Posted: Fri May 21, 2004 9:18 pm Post subject: Re: Inactive button bmp |
|
|
| Quote: | Mike, your site is returning 404...
Please try again - it works for me. |
--
With best regards, Mike Shkolnik
E-mail: [email]mshkolnik (AT) scalabium (DOT) com[/email]
WEB: http://www.scalabium.com
|
|
| Back to top |
|
 |
Tex Guest
|
Posted: Tue May 25, 2004 1:46 pm Post subject: Re: Inactive button bmp |
|
|
Tip #137 works for orig that have distinct lines w/i pic.
The orig image I used, which failed, had only fuzzy edges
of objects. It was done by Graphics Arts co and it looked
good at full scale, but #137 could not find the edges to any
shapes, and thus, could not show the edges depressed. By
hand placing black pixels for shape outline (Paint Shop Pro),
#137 did, then, produce the "Inactive" image.
"Tex" <tampatex (AT) ix (DOT) netcom.com> wrote
| Quote: | Mike,
I tried #137 and resulting bmp was just bmp of clBtnFace (I think?),
a solid square same size as original at any rate.
MonoBmp was all black.
DDB was same as my orig bmp.
Any ideas?
I tried orig bmp which was 256 colors,
then tried orig changed to 16 million colors,
then tried orig changed to grayscale,
then tried orig with Transparancy set (reuired 256 colors),
and all same result.
--tex
Delphi tip#137: create disabled bitmap
http://www.scalabium.com/faq/dct0137.htm
******************************
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|