|
-
Feb 2nd, 2005, 03:30 AM
#1
Thread Starter
Junior Member
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
-
Feb 2nd, 2005, 04:08 AM
#2
Re: Background Picture in Command Buttton
why don't u stretch the picture itself.
-
Feb 2nd, 2005, 04:35 AM
#3
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.
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.
This world is not my home. I'm just passing through.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|