Try:

 _SCREEN.ActiveForm.EditTeacher()

Fred


On Thu, Mar 11, 2010 at 4:12 PM, MB Software Solutions, LLC <
[email protected]> wrote:

> I've not written shortcut menus into my apps before, but was going to
> this time for a small one.  Apparently, I can't do the following:
>
> On Selection Bar 1 of MyPopup thisform.EditTeacher()
>
> When the ACTIVATE POPUP command fires, it errors with "THISFORM can only
> be used within a method."
>
> Must I resort to old fashioned PRGs to get this done?  I just want to
> run this simple code in the EditTeacher method:
>
> LOCAL loFrm as Form, llRequery as Logical
> DO FORM .\forms\frmEditTeacher NAME loFrm TO llRequery
> IF llRequery THEN
>        this.RequeryData()
> ENDIF
>
> Ideas?  tia!
>
> --
> Mike Babcock, MCP
> MB Software Solutions, LLC
> President, Chief Software Architect
> http://mbsoftwaresolutions.com
> http://fabmate.com
> http://twitter.com/mbabcock16
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://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.

Reply via email to