Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 65
Default Adding photos to command buttons

Whenever I add 24x24 or 16x16 bitmaps (.bmp files) to command buttons the images always get distorted and lose their colors. What is an ideal file size and format for command buttons? Ideally, I'd like there to be no image distortion or loss of color when using images on top of command buttons.

-Robert
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,182
Default Adding photos to command buttons

Whenever I add 24x24 or 16x16 bitmaps (.bmp files) to command buttons the
images always get distorted and lose their colors. What is an ideal file
size and format for command buttons? Ideally, I'd like there to be no image
distortion or loss of color when using images on top of command buttons.

-Robert


Images on buttons are usually used on toolbars where the buttons are square and
so match the image size without distortion.

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 88
Default Adding photos to command buttons


"RG III" wrote in message
Whenever I add 24x24 or 16x16 bitmaps (.bmp files) to command buttons the
images always get distorted and lose their colors. What is an ideal file
size and format for command buttons? Ideally, I'd like there to be no image
distortion or loss of color when using images on top of command buttons.

-Robert

Assuming(?) you're talking about MSForms type CommandButtons (on a sheet or
userform) normally there shouldn't be any distortion or loss of colours as
you describe, and no special requirement for size. Can you upload a testfile
and separately a source image.

Peter T


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 88
Default Adding photos to command buttons


"RG III" wrote in message
Whenever I add 24x24 or 16x16 bitmaps (.bmp files) to command buttons the
images always get distorted and lose their colors. What is an ideal file
size and format for command buttons? Ideally, I'd like there to be no image
distortion or loss of color when using images on top of command buttons.

-Robert

Assuming(?) you're talking about MSForms type CommandButtons (on a sheet or
userform) normally there shouldn't be any distortion or loss of colours as
you describe, and no special requirement for size. Can you upload a test
file
and separately a source image.

Peter T



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 65
Default Adding photos to command buttons

On Friday, September 20, 2019 at 9:08:14 AM UTC-7, GS wrote:

Images on buttons are usually used on toolbars where the buttons are
square and so match the image size without distortion.


Yes, my images are square and they fit on buttons, but the colors often come out wrong even when I choose 16-color bitmaps. I was just wondering if there was an ideal file format for button images?


  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 65
Default Adding photos to command buttons

On Friday, September 20, 2019 at 11:01:09 AM UTC-7, Peter T wrote:

Assuming(?) you're talking about MSForms type CommandButtons (on a sheet or
userform) normally there shouldn't be any distortion or loss of colours as
you describe, and no special requirement for size. Can you upload a test
file and separately a source image.


Yes, I'm using images on Command Button forms. I've tried 16-color and 256-color bitmap (.bmp) files, but they all had some distortion and color loss. I wonder if it's related to the file type and bitmap size? I don't have the actual bitmaps right now, but I'll try to create a few samples and post them soon.
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Adding photos to command buttons

El viernes, 20 de septiembre de 2019, 5:06:57 (UTC-5), RG III escribió:
Whenever I add 24x24 or 16x16 bitmaps (.bmp files) to command buttons the images always get distorted and lose their colors. What is an ideal file size and format for command buttons? Ideally, I'd like there to be no image distortion or loss of color when using images on top of command buttons.

-Robert


Im used pictures .ico
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Form buttons and Control Command Buttons ranswrt Excel Programming 0 August 7th 08 11:36 PM
Command Buttons ranswrt Excel Programming 4 May 2nd 08 11:26 PM
adding userform command buttons borg Excel Programming 3 April 2nd 06 05:14 PM
Help with command buttons Danno Excel Worksheet Functions 1 October 7th 05 10:32 PM
Control Buttons vs. Command Buttons Robert Gibson Excel Programming 1 October 13th 03 04:33 PM


All times are GMT +1. The time now is 06:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"