Re: MI Re: keeping layouts as 'landscape' not 'portrait'

2000-01-27 Thread Steve Wallace

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]



Re: MI Re: keeping layouts as 'landscape' not 'portrait'

2000-01-27 Thread Gerald Kornelsen

It is possible to run some limited commands in a workspace.  (I still use MI 4.1.2)  
For
example, I have a few workspaces where I have a message pop up at the end of loading
the .wor.  To tell the users what the line colours mean, I have this line at the end 
of the
workspace:

Note "Note" + chr$(10) + "Red Lines are Waste Water Sewers"

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.

Anyway, has anyone else tried to run commands in a workspace?  Which ones have
worked?

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



Re: MI Re: keeping layouts as 'landscape' not 'portrait'

2000-01-27 Thread Steve Wallace

Well, it really depends on what version of MapInfo Pro you are using. Only 
recently did MapInfo add printer settings to what is saved in the 
workspace, and only in the latest patch did many of the problems get resolved.

If you are using a version before v5, there are no means to store your 
printer selections with the workspace.

Steve Wallace
Florida Farm Bureau Insurance Co's


At 08:10 AM 01/27/2000 -0600, David Reid wrote:
>I may stand corrected, but I beleive your page orientation problem is
>by design.  I'm only speaking for the Windows family here . . .
>whichever page orientation you have set in your printer defaults is
>the one that keeps coming back even though you've saved a different
>format in a workspace.
>
>Should this be the case, you would need to go to Page Setup prior to
>opening your workspace (or just prior to printing) and select
>"Landscape".  Upon opening your workspace your layout should appear
>as desired.
>
>An alternative might be to change your default page orientation in
>your printer properties, but that will effect all other print jobs
>with other apps too.
>
>David
>
>- Original Message -
>From: <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Thursday, January 27, 2000 4:16 AM
>Subject: MI: keeping layouts as 'landscape' not 'portrait'
>
>
> >
> >
> > This is a problem I'm wondering if anyone else has come across:
> >
> > I have created a number of layouts in workspaces on A4 paper but in
> > landscape (short and wide) format.  obviously i have saved the
>workspace
> > with this work in it.  However when i come to reopen the workspace
>later,
> > the layout has reverted to a portrait A4 setting (2 sheets).
> >
> > Is there a way of saving the paper setting, or is this a quirk of
>our
> > network?
> >
> > TIA
> >
> > Steven Ward

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