Background Picture in Command Buttton
Dear Experts,
I have a command button in one of my forms. Its width is about 8000 and its height is around 800. I tried to insert a background (jpeg) picture and found that the pictures width doesn't match with the command button's width.
Can somebody guide me to stretch the picture to match the command button's width and height.
Many Thanks
Eshu
Re: Background Picture in Command Buttton
why don't u stretch the picture itself.
Re: Background Picture in Command Buttton
This quote from MSDN may be helpful.
To resize your picture I'd suggest loading it in MS Paint and using Image\Attributes to check the size then Image\Stretch to change the size to what you need.
Quote:
Twips Explained
By default, all Visual Basic movement, sizing, and graphical-drawing statements use a unit of one twip. A twip is 1/20 of a printer’s point (1,440 twips equal one inch, and 567 twips equal one centimeter). These measurements designate the size an object will be when printed. Actual physical distances on the screen vary according to the monitor size. "Changing an Object’s Coordinate System" describes how to select units other than twips.