on 10/26/02 4: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.
What you need to do is create your new MDIWindow class and assign it to
App.MDIWindow. So in your Open event, you can do this:
App.MDIWindow = new MyMDIWindow
Regards,
William Yu
william at realsoftware dot com
---
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>
.
|