--- RBNUBE <[EMAIL PROTECTED]> wrote:

> So far, I've had some luck by adding position information and
> image name to
> an array and then saving the information to a text file. 
> Opening the text
> file places the correct icons in the correct positions.
> 
> Now I need to figure out how to make each of the images respond
> to
> single-clicks, double-clicks, move, etc.  Whoo hoo!

That sounds a lot like the "Build Your Own IDE" article I wrote
for RBLibrary.com.  :)

My approach was to write an Overlay class, based on the Canvas
class.  The Overlay handles drawing the selection handles and the
resizing and so on.  Each Overlay also has a property of type
RectControl (or whatever you need it to be).  If you're editing a
PushButton, for instance, you pass a PushButton to the Overlay
instance, and the Overlay takes care of positioning and resizing
the the button.

If you have some specific questions, let me know.


Mark Nutter

Quick and easy regex creation and debugging!
http://www.bucktailsoftware.com/products/regexplorer/

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to