>Hi gang,
>
>One of our developers here has a top-level form which instantiates a menu. They would like to be able to reference that top level form, as an object, in one of the menu bars.
>
>_SCREEN.ActiveForm won't work, since it's a top-level form. Neither will storing an object reference in a property, since the menu has no idea where to look for the property.
>
>Any ideas?
>
>TIA,
I usually store an object reference to the form in a property of my application object and reference it from there. E.g:
oApp.MyTopLevelForm. ...
Important to NULL out the reference to the object before releasing the form to clean up object references.
Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.