At 12:17 PM 01/27/2000 -0600, you wrote:

>I just tried to run a menu command in a .wor, but it didn't work.  I tried:
>
>Run Menu Command M_FILE_PAGE_SETUP
>
>to invoke the page setup dialog box.  When I ran the workspace, I got a 
>message that
>M_FILE_PAGE_SETUP is an invalid sub procedure.  I guess MI doesn't like subs
>outside of MapBasic.

Gerald:

That's because M_FILE_PAGE_SETUP is a variable holding a constant value 
from the menu.def file, that isn't loaded/compiled with your workspace. If 
you try ...

         Run Menu Command 111

... it will work.

Steve

Steve Wallace
GIS & Market Information Manager
Florida Farm Bureau Insurance Companies

----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to