The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
|
|
Image Thumbnail Control
Posted: 02 Jun 06 3:34 PM
|
fiogf49gjkf0d Does anyone know if there a way to view thumbnails of images (photos) stored in SalesLogix as attachments?
Thanks,
Tom Kaiser |
|
|
|
Re: Image Thumbnail Control
Posted: 05 Jun 06 1:59 PM
|
where can i buy low dose naltrexone buy low dose naltrexone online jihying.com where can i buy naltrexone online fiogf49gjkf0d You can load the image from a path using the standard image control in SLX. IF you wanted to look at the extensions of the files in the attachment table. You could build a screen to load the image from a file for image types:
Image1.OpenPictureFromFile "F:My Documents\me.bmp", False
As far as a thumbnail goes, I would just make a copy of the file (as a tmp file somewhere and just keep overwiring it each time), resize it, and then load that into the image control. It would all happen fast enough the user wouldn't know the copying a stuff was going on. Alternatively you could just resize the image control itself at runtime to the dimentions you want the thumbnail to be, then set AutoSize=False and Stretch=True. This would easily produce a thumbnail effect.
|
|
|
|
Re: Image Thumbnail Control
Posted: 07 Jun 06 3:03 AM
|
fiogf49gjkf0d Data binding on the image control is coming in v7. However, there will not be any inherent support for thumbnails or automatic resizing. You will have to upload thumbnail images as separate images and work with them as such. |
|
|
|
Re: Image Thumbnail Control
Posted: 08 Jun 06 5:18 AM
|
fiogf49gjkf0d If that's the case then you can use a second image control to create a thumbnail of the bound image. Set the bound control's visible property to false and just do all your visual stuff with the "dummy" control. That does mean 2 controls for one use so you'll want to be careful to reuse controls as much as possible since more controls on a form mean it takes more time to create. |
|
|
|