| To: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
|---|---|
| Subject: | Re: Nil Object Exception when window set to composite |
| From: | Charles Yeomans <charles@declareSub.com> |
| Date: | Fri, 31 Jul 2009 15:25:11 -0400 |
| Authentication-results: | mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com |
| Delivered-to: | listarchive@realsoftware.com |
| In-reply-to: | <A3BE7D3B-3F9A-4941-AAA9-AF9CD4BE0F24@vee-eye.com> |
| References: | <A3BE7D3B-3F9A-4941-AAA9-AF9CD4BE0F24@vee-eye.com> |
| Reply-to: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
| Sender: | realbasic-nug-bounces@lists.realsoftware.com |
On Jul 31, 2009, at 2:48 PM, Gavin Dimmock wrote: Hi All,I have a project where I invoke multiple windows from a main window. The usual stuff. All works fine. You click a button and another window opens.However, I need the windows to be composite, but if the main window is set to composite a nil object exception occurs when the new window is instantiated.The button action contains the following code: dim myWind as new DisplayWind myWind.showwhere DisplayWind is the name of the window and dim myWind as new DisplayWind causes the error.Anyone had an issue like before where setting composite to true causes an error? I've had plenty of problems with composited windows.Do you have any code in Open event handlers, or a constructor? If so, it would be useful to know the exact line at which the NilObjectException is raised. Charles Yeomans _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: In the Menu Bar?, Terry Ford |
|---|---|
| Next by Date: | Tracking an External Apps Position, Rubber Chicken Software Co. |
| Previous by Thread: | In the Menu Bar?, Louis G5 Batayte |
| Next by Thread: | ConsoleApp and ServiceApp, Rubber Chicken Software Co. |
| Indexes: | [Date] [Thread] [Top] [All Lists] |