I'll change the order and see how it goes, but I put the window's constructor call before my initialization line and it worked fine, so perhaps the window's constructor doesn't call the control open events.

Sub Constructor()
  super.Window
  db = App.Database
End Sub

Thanks,
Chuck

On Apr 23, 2006, at 5:13 PM, Mathieu Langlois wrote:

To clarify this, you need to call the super's constructor in your subclass constructor for a window to properly initialize (super.window). You want to put your initialization code BEFORE calling the window's constructor because the the window's constructor triggers the open events. Also you can't (well at least shouldn't, it may work in some cases but it's a bad idea) access
any of the controls before calling the window's constructor.
_______________________________________________
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