gettingstarted
[Top] [All Lists]

Re: Window Function

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Window Function
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Thu, 23 Sep 2004 13:49:02 -0500
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <4BA4F40A-0D8F-11D9-9FFF-000A95A4D7A8 at pilotmaker dot com>
At 11:35 AM -0700 9/23/04, Tony Cerrato wrote:

I have not been able to figure out how to access the properties and methods I have added to a window object via the Window Function.

You'd have to typecast, since Window() returns a reference of type Window, not of your custom window subclass. The Window class doesn't contain your properties and methods.

But often, the need to typecast indicates some more fundamental design problem. What is it you're really trying to do?

Best,
- Joe

--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

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

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