realbasic-nug
[Top] [All Lists]

Re: image "list"

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: image "list"
From: Joe Strout <joe at inspiringapps dot com>
Date: Mon, 31 Mar 2008 08:26:27 -0600
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <56bf4dd00803310718y5a808b35jbc4eaf2824fea676 at mail dot gmail dot com>
On Mar 31, 2008, at 8:18 AM, Tony Rudzki wrote:

> Is it possible to have a "list" of images that a user could select
> from?

Sure.  Perhaps start by declaring an array property, imageList() As  
Picture.

>   What I am essentially trying to do is mimic an "icon selection"
> screen where you can select an image from a scrolling group of images
> for attachment to a data file.  I know I could do it with imagewells,
> but I would rather do it with a "listbox" type of control.

Then I'd suggest doing it with a Listbox.  :)  No, seriously -- set  
the DefaultRowHeight to an appropriate size, and draw each image in  
the CellTextPaint event.

Best,
- Joe

--
Joe Strout
Inspiring Applications, Inc.
http://www.InspiringApps.com



_______________________________________________
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>