Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, November 22, 2024 
 
slxdeveloper.com Community Forums  
   
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!
 Architect Forums - Controls
Forum to discuss usage & tips for SalesLogix controls and other 3rd party ActiveX controls. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Controls | New ThreadView:  Search:  
 Author  Thread: Image Thumbnail Control
Tom Kaiser
Posts: 11
 
Image Thumbnail ControlYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 02 Jun 06 3:34 PM

ciproxin

ciproxin
fiogf49gjkf0d
Does anyone know if there a way to view thumbnails of images (photos) stored in SalesLogix as attachments?

Thanks,

Tom Kaiser
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Image Thumbnail ControlYour last visit to this thread was on 1/1/1970 12:00:00 AM
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.
[Reply][Quote]
Jon Davis
Posts: 65
 
Re: Image Thumbnail ControlYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Jun 06 3:03 AM

plavix

plavix link
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.
[Reply][Quote]
Jeremy Brayton
Posts: 491
Top 10 forum poster: 491 posts
 
Re: Image Thumbnail ControlYour last visit to this thread was on 1/1/1970 12:00:00 AM
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.
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/22/2024 7:55:00 PM