gettingstarted
[Top] [All Lists]

Re: Cloning a rectangle...

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Cloning a rectangle...
From: "Steve Garman" <realbasic at garman dot demon dot co dot uk>
Date: Mon, 30 May 2005 21:21:37 +0100
Delivered-to: gettingstarted at lists dot realsoftware dot com
In a message regarding Re: Cloning a rectangle... dated Mon, 30 May 2005
13:16:38 -0700, Terry Ford said that ...

> 
> On 30-May-05, at 12:36 PM, Eirik Karlsen wrote:
> 
> > In a rectangle's OpenEvent I'm trying to clone it using this code:
<snip>
> 
> Are you trying to create a clone of an existing Rectangle Control or  
> create one by itself? You can't do the latter.

And if you do the former, don't do it in the Open Event or you'll cause a
stack overflow, as each new rectangle fires its own open event.

-- 
Steve Garman
Using REALbasic 5.5.5 Professional on Windows XP Pro
_______________________________________________
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>

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