Yes - if you change the rect of the original image and set its lockLocation
to true, the resized version of the image will be used in the list.
No, the problem is this: I cannot change the original image, nor copy it. I
only need to show an 'icon' of the image (as in a button).
Hi Paul,
Then if you want to show a big image AND have a mini thumbnail used
as an icon, there are 2 possibilities:
If images are static ones, prepare 2 images, a big one and a tiny
one :-)
If images can be imported by the user, you'll build their thumbnail
on-the-fly.
Le 2 déc. 05 à
Hi Paul,
Then if you want to show a big image AND have a mini thumbnail used
as an icon, there are 2 possibilities:
If images are static ones, prepare 2 images, a big one and a tiny
one :-)
If images can be imported by the user, you'll build their thumbnail
on-the-fly.
Le 2 déc. 05 à
Hi Paul,
Thanks for Paris :-)
If you
show an image of another opened stack in your button (as icon), the
size
maybe bigger but results dropped and it's OK; in a field as
imagesource,
it's not dropped and 'invades' the field.
As far as I know, images used as icons in buttons or placed in
on SetImageSource pImageName,pField,pChar,pHeight
create invisible image
set the botright of last image to -1,-1 -- off-screen
put image pImageName into last image
set the lockloc of last image to true
set the name of last image to pImageName Thumb
set the height of last
Paul, if I'm reading your message properly, you're saying that images are
cropped when they are icons of buttons, but not cropped when put into a field.
This is true, and shows the difference between how buttons and fields show
images. Fields always show embedded images at full size.
Paul,
I'm sorry: I forgot a very important line in the handler I proposed:
on SetImageSource pImageName,pField,pChar, pHeight
create invisible image
set the botright of last image to -1,-1
put image pImageName into last image
set the lockloc of last image to true
set the name of last
I have a list field with the first char of each line as image through the
imageSouce property, setted dinamically; the problem is that if an image is
big, the field became fool, unreadable. There is a way to show an image that
must have a maximum size as the list field need (using always the
On 12/1/05 12:14 PM, Paul Claude [EMAIL PROTECTED] wrote:
I have a list field with the first char of each line as image through the
imageSouce property, setted dinamically; the problem is that if an image is
big, the field became fool, unreadable. There is a way to show an image that
must