realbasic-betas.mbox
[Top] [All Lists]

Re: Create handlers for MDIWindow events?

To: REALbasic Betas <realbasic-betas at lists dot realsoftware dot com>
Subject: Re: Create handlers for MDIWindow events?
From: Chris Little <cslittle at mac dot com>
Date: Sat, 26 Oct 2002 17:35:40 -0400
on 10/26/02 5:22 PM, Ward Clark at ward at joyofmacs dot com wrote:

> The online help for MDIWindow class describes three Events (Moved, Open,
> Resized), but it provides no information on how to provide a handler for
> these events.
> 
> The examples for setting MDIWindow properties imply that an MDI
> application automatically includes an MDIWindow property:
> 
>    App.MDIWindow.MinHeight=225
>    App.MDIWindow.Height=72
> 
> I've found that I can subclass MDIWindow to provide a handler, but it's
> not clear now to hook this into my App object in place of the the
> "automatic" MDIWindow.
> 
> I'm currently using REALbasic 4.5.2, but I've downloaded 5.0a3 in case it
> will help.
> 

I would have thought that it would be as simple as creating a class with
MDIWindow as its super but RB doesn't seem to look for a MDIWindow subclass
in the same way it looks for an Application subclass.

I remember experimenting with this but we abandoned MDI as an interface and
I forgot to follow it up with a bug report.

Chris


---
A searchable archive of this list is available at:
<http://dbserver.realsoftware.com/KBDB/search.php>

Unsubscribe:
<mailto:realbasic-betas-off at lists dot realsoftware dot com>

Subscribe to the digest:
<mailto:realbasic-betas-digest at lists dot realsoftware dot com>
.


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