Subject Re: calling a function from a menu file selection with the function
From Ken Mayer <dbase@nospam.goldenstag.net>
Date Sat, 18 Aug 2018 13:15:01 -0700
Newsgroups dbase.getting-started

On 8/18/2018 4:49 AM, Richard Kuzma wrote:
> hello everyone,
> I have a procedure file with a bunch of functions contained in it. I created a menu file attached to a form and wondering how to call a function that is stored in the procedure file when i choose one of the menu options?
> Thanks as always,
> Rich
>

when you issue:

set procedure to MyProcedureFile

It is available until you close it (close procedure ...). So issue that
command if you need it called from the form before the form opens ... or
if you will be using it throughout the app, just issue it in your
startup code.

Ken

--
*Ken Mayer*
Ken's dBASE Page: http://www.goldenstag.net/dbase
The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
dBASE Tutorial: http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm