realbasic-nug
[Top] [All Lists]

Re: Looking for thumbnail list example

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Looking for thumbnail list example
From: John Kubie <jkubie at mac dot com>
Date: Thu, 30 Aug 2007 16:09:49 -0400
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20070830194732 dot 603427B39D4 at mail dot verex dot com>
thanks. I'll fix up my code before forwarding to Rob. I'll see if I  
can figure out why final workaround worked. Since the fix didn't  
involve reducing to 16x16 it seems strange. The fix involved adding  
varying amounts of whitespace to the left of the image. The  
thumbnails I ended up with were about 45x60 pixels.

john kubie

On Aug 30, 2007, at 3:47 PM, joe at strout dot net wrote:

> On Aug 30, 2007, at 19:01 UTC, John Kubie wrote:
>
>> I've written a listbox with thumbnails in its leftmost column.
>>
>> I did find what I think is a bug in the listbox display of the
>> thumbnail images. The location wasn't where I thought it should be. I
>> was able to fix it by trial-and-error. But, before I did the fix,
>> most of the thumbnail images were out of sight.
>
> You're using RowPicture; that's intended for little 16x16 item icons
> next to the names, not for thumbnails.  So this is not a bug, just not
> intended for what you have in mind.  Draw thumbnails yourself in the
> CellTextPaint event.
>
> Best,
> - Joe
>
> --
> Joe Strout -- joe at strout dot net
> Strout Custom Solutions, LLC
>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
>
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>