Auto Resize Button Image (1 Viewer)

djwasim

Registered User.
Local time
Today, 19:22
Joined
May 29, 2009
Messages
93
Hello

I am using a command button in a form named "databutton"
but their is a problem that the image.bmp is not fit to button size automatically.
is it possible that the image size will be auto fit to button size?
 

SteveSchapel

Registered User.
Local time
Tomorrow, 01:52
Joined
Apr 29, 2010
Messages
242
Djwasim,

As far as I know, this is not possible. You either need to make the size of the button to accommodate the size of the image, or you need to use an image editing utility to create a different sized version of your image.

The exception here would be if you can use a properly configured icon (.ico) for your button, in which case the appropriately sized image from the icon set will be deployed to the button. There is some software that can be used to produce icons from images in other formats. I use Axialis IconWorkshop and can recommend it.
 

djwasim

Registered User.
Local time
Today, 19:22
Joined
May 29, 2009
Messages
93
i use (.ico) but the access software button is not accepting that format
 

vbaInet

AWF VIP
Local time
Today, 14:52
Joined
Jan 22, 2010
Messages
26,374
What about .bmp format? I use GIMP which is a free/open source software and it's pretty similar to Photoshop. Although, the one Steve uses might be easier to learn and specific to your needs.
 

onur_can

Active member
Local time
Today, 06:52
Joined
Oct 4, 2015
Messages
180
The button images of ms access are 16x16 pixels as standard and the file format is default .bmp file. But you can also use png file. You can edit the sizing and file format in Windows' own program Paint.
 

Users who are viewing this thread

Top Bottom