On Jan 9, 2007, at 12:10 PM, [EMAIL PROTECTED] wrote:

On Jan 09, 2007, at 16:43 UTC, Robert Livingston wrote:

But if I create a canvas class in the IDE (code editor) like AnaClass.

I also design a window in the IDE.

I have not run any code so these entities are both classes (and
subclasses of window or canvas)

Correct.

Then, using the IDE, I could put 2(two) AnaClass canvases in the
(same) window.

At this point, are those two canvases "instances" of the AnaClass
class.

Right.

    -- No because I have not run any code.

So what?  RB does a lot of work for you.  You didn't write any code to
create an instance of your Application subclass either; it just
magically appears.  Nor did you write any code to create your window,
if it was set as the default window; that magically appears too.  In
the same way, when a window is created, all the controls are magically
instantiated too.

(Though there is a way to peek behind the curtain in this case, by
noticing that if you implement the Constructor of your window, and fail
to call Super.Window, then the controls are NOT created.)

Actually, I think that the result is that the Open event handlers are not called; the controls are created.

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