Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, December 1, 2009 2:50:52 PM(UTC)

armela  
armela

Groups: Registered
Posts: 2


Hi,

Kindly help.

Im doing a thumbnail browser from a directory using powerbuilder. However the pictures is not loading, I put a message on ThumbnailEvent and sees that it was triggered, I even manage to get thumbnail info width, height and bits. But the image is not showing..

please help. this is my code upon opening the window that contains the Thumbnail browser


code is in open event of window - w_vrsmain



w_vrsmain.ole_thumb.Object.EnableMethodErrors = False
w_vrsmain.ole_thumb.Object.StopOnError = True

w_vrsmain.ole_thumb.Object.Filter ( "*.jpg")

w_vrsmain.ole_thumb.Object.ThumbnailWidth = 150
w_vrsmain.ole_thumb.Object.ThumbnailHeight = 150
w_vrsmain.ole_thumb.Object.ThumbnailBitsPerPixel = 24
w_vrsmain.ole_thumb.Object.LoadStamp = TRUE
w_vrsmain.ole_thumb.Object.Resample = TRUE
w_vrsmain.ole_thumb.Object.IncludeSubdirectories = False
w_vrsmain.ole_thumb.Object.ExpandMultiPage = False
w_vrsmain.ole_thumb.Object.BrowseDir( "C:\")


please help.

thank you,
mela
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Wednesday, December 2, 2009 4:55:54 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

Was thanked: 1 time(s) in 1 post(s)

Mela,
If you are using the Thumbnail Browser control of LEADTOOLS 14.5 or earlier, this control does not display anything. It only browses the returns the images.

You must assign the returned bitmap to a different control, such as a LEAD Main OCX or an Image List control to display them.

You can do that inside the ThumbnailEvent when it is triggered with nStatusCode = 0 (which means the function was successful).

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#3 Posted : Wednesday, December 2, 2009 4:49:48 PM(UTC)

armela  
armela

Groups: Registered
Posts: 2


Hi Maen,

Thanks a lot, you have help me with the information you gave. Now im able to make use of thumbnail images in powerbuilder..

regards,
mela
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.072 seconds.