Use _SCREEN.ActiveForm, not _VFP. Fred
On Mon, Feb 4, 2013 at 10:39 AM, Chris Davis <chr...@actongate.co.uk> 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: ProFox@leafe.com 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/CAJCBksoe9antug-pL78=_ibspe8hhhldxtxn1y8cvfr7hoc...@mail.gmail.com ** 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.