Adding graphical components at run-time (Newbie)
Adding graphical components at run-time (Newbie)
- Subject: Adding graphical components at run-time (Newbie)
- From: Lane Schwartz <email@hidden>
- Date: Sat, 25 Aug 2001 16:45:53 -0500
- Organization: The Realm of Dowobeha
Wondering if anyone can help me out here. I'd like to have a window that
displays thumbnails of an arbitrary number of images. I will know the
size that I want the images displayed at (they will need to be resized
from the originals, though). I'm hoping to lay the images out in a grid
that's as wide and tall as the window (possibly allowing scrolling
downward if needed).
My question is this: How can I create a grid layout based on what the
window size is at runtime, and then add images to that layout at
runtime? I could probably do this statically in IB, but I don't know how
to code this dynamically.
Thanks!
Lane Schwartz