PC Review


Reply
Thread Tools Rate Thread

Centering Images or making the image frame auto adjust to image size

 
 
Julie Nicole
Guest
Posts: n/a
 
      28th Jul 2004
I have a form which calls up images from within another table. They do show
up just fine in the form BUT, they are all different sizes. Is there anyway
to get the image frame to adjust to each image size automatically or is
there a way to have them centered in the frame? Ive looked thru the format
properties and there arent any for jusification but Id rather the image
frame size changed automaticall depending on the size of the image.

thanks
Julie


 
Reply With Quote
 
 
 
 
Van T. Dinh
Guest
Posts: n/a
 
      28th Jul 2004
Check the "Size Mode" and the "Picture Alignment"
Properties of the Image Control. Check out also
the "Picture Tiling" Property.

HTH
Van T. Dinh
MVP (Access)



>-----Original Message-----
>I have a form which calls up images from within another

table. They do show
>up just fine in the form BUT, they are all different

sizes. Is there anyway
>to get the image frame to adjust to each image size

automatically or is
>there a way to have them centered in the frame? Ive

looked thru the format
>properties and there arent any for jusification but Id

rather the image
>frame size changed automaticall depending on the size of

the image.
>
>thanks
>Julie
>
>
>.
>

 
Reply With Quote
 
Julie Nicole
Guest
Posts: n/a
 
      28th Jul 2004
Hi,

thanks for the help.
The "Size Mode" options are not suitable because zoom seems to make some
pictures smaller not bigger and "stretch" distorts the image.

Under alignment options there are only settings to place the image on the
form so far from the left, top and bottom, no settings for center or middle.

I have used the bound object frame to insert the images so this way I can
link to the field in the table and have it linked so it auto updates. If I
try using image frame only, it refers me to a file on my hd and stays the
same on every record and doesnt change. So I tried to study up on using
images and found this way worked.

It wouldnt even work if I linked in the table to an image file. I had to
create new, use the paint program and paste from existing file to get it to
work.

So I dont get the image property options, I get the bound object options.
Any advice would be greately appreciated.

thanks
Julie

"Van T. Dinh" <(E-Mail Removed)> wrote in message
news:56b801c47450$3cd6eae0$(E-Mail Removed)...
> Check the "Size Mode" and the "Picture Alignment"
> Properties of the Image Control. Check out also
> the "Picture Tiling" Property.
>
> HTH
> Van T. Dinh
> MVP (Access)
>
>
>
> >-----Original Message-----
> >I have a form which calls up images from within another

> table. They do show
> >up just fine in the form BUT, they are all different

> sizes. Is there anyway
> >to get the image frame to adjust to each image size

> automatically or is
> >there a way to have them centered in the frame? Ive

> looked thru the format
> >properties and there arent any for jusification but Id

> rather the image
> >frame size changed automaticall depending on the size of

> the image.
> >
> >thanks
> >Julie
> >
> >
> >.
> >



 
Reply With Quote
 
PC Datasheet
Guest
Posts: n/a
 
      28th Jul 2004
Julie,

To use the image control you need a field in your table to hold the complete
path to your image. Then on your form, you need a hidden textbox bound to this
field. Finally, you need code in the form's Current event that sets the Picture
property of the image control to the value in the hidden textbox.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
(E-Mail Removed)
www.pcdatasheet.com


"Julie Nicole" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> thanks for the help.
> The "Size Mode" options are not suitable because zoom seems to make some
> pictures smaller not bigger and "stretch" distorts the image.
>
> Under alignment options there are only settings to place the image on the
> form so far from the left, top and bottom, no settings for center or middle.
>
> I have used the bound object frame to insert the images so this way I can
> link to the field in the table and have it linked so it auto updates. If I
> try using image frame only, it refers me to a file on my hd and stays the
> same on every record and doesnt change. So I tried to study up on using
> images and found this way worked.
>
> It wouldnt even work if I linked in the table to an image file. I had to
> create new, use the paint program and paste from existing file to get it to
> work.
>
> So I dont get the image property options, I get the bound object options.
> Any advice would be greately appreciated.
>
> thanks
> Julie
>
> "Van T. Dinh" <(E-Mail Removed)> wrote in message
> news:56b801c47450$3cd6eae0$(E-Mail Removed)...
> > Check the "Size Mode" and the "Picture Alignment"
> > Properties of the Image Control. Check out also
> > the "Picture Tiling" Property.
> >
> > HTH
> > Van T. Dinh
> > MVP (Access)
> >
> >
> >
> > >-----Original Message-----
> > >I have a form which calls up images from within another

> > table. They do show
> > >up just fine in the form BUT, they are all different

> > sizes. Is there anyway
> > >to get the image frame to adjust to each image size

> > automatically or is
> > >there a way to have them centered in the frame? Ive

> > looked thru the format
> > >properties and there arent any for jusification but Id

> > rather the image
> > >frame size changed automaticall depending on the size of

> > the image.
> > >
> > >thanks
> > >Julie
> > >
> > >
> > >.
> > >

>
>



 
Reply With Quote
 
Van T. Dinh
Guest
Posts: n/a
 
      28th Jul 2004
Sorry. I can't say that I am experienced with BoundObjectFrame since I
never stored OLE objects in the database (OLE Objects tend to bloat the
database badly).

However, there are 3 options in the Size Mode. Have you tried all of them?

Stephen Lebans may have some info. :

http://www.lebans.com

--
HTH
Van T. Dinh
MVP (Access)




"Julie Nicole" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> thanks for the help.
> The "Size Mode" options are not suitable because zoom seems to make some
> pictures smaller not bigger and "stretch" distorts the image.
>
> Under alignment options there are only settings to place the image on the
> form so far from the left, top and bottom, no settings for center or

middle.
>
> I have used the bound object frame to insert the images so this way I can
> link to the field in the table and have it linked so it auto updates. If

I
> try using image frame only, it refers me to a file on my hd and stays the
> same on every record and doesnt change. So I tried to study up on using
> images and found this way worked.
>
> It wouldnt even work if I linked in the table to an image file. I had to
> create new, use the paint program and paste from existing file to get it

to
> work.
>
> So I dont get the image property options, I get the bound object options.
> Any advice would be greately appreciated.
>
> thanks
> Julie
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Size of images in image list lord.zoltar@gmail.com Microsoft C# .NET 4 1st Jan 2009 07:59 PM
ImageList Component: Adjust Image Size Per Image senfo Microsoft C# .NET 2 13th Feb 2007 02:22 PM
How do I adjust size of image to fill monitor. Frank Martin Windows XP Hardware 6 13th Jan 2006 01:37 AM
Re: vb.net:imagelist loses images when the image size property is changed Carl Prothman [MVP] Microsoft Dot NET Framework Forms 0 26th Jul 2003 07:49 PM
Fixing image size with multiple images Mike Microsoft Powerpoint 4 15th Jul 2003 03:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:13 PM.