Thanks Fred, tried that but still the same. -----Original Message----- From: ProfoxTech [mailto:[email protected]] On Behalf Of Fred Taylor Sent: 04 February 2013 17:46 To: [email protected] Subject: Re: Releasing a form from a docked toolbar.
Use _SCREEN.ActiveForm, not _VFP. Fred On Mon, Feb 4, 2013 at 10:39 AM, Chris Davis <[email protected]> wrote: > Hi All, > > I have a Top Level Form with two toolbars, which have been docked in > code in the activate event. > > When clicking buttons on these toolbars it fires events on the form. > > Why am I not able to put thisform.release into one of those methods > and call it from a button click on the toolbar? > > Closing the form with the X works. Addiing a button direct to the > form with this.release in the click event works. > > But a button on the toolbar calling _vfp.activeform.myexitmethod > doesn't > > Thanks > > Chris. > > > ______________________________________________________________________ > This email has been scanned by the Symantec Email Security.cloud service. > For more information please visit http://www.symanteccloud.com > ______________________________________________________________________ > > --- StripMime Report -- processed MIME parts --- multipart/alternative > text/plain (text body -- kept) > text/html > --- > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

