This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
Hi Catherine,
I do not think there is a way to do this by default. However the =
attached
program will do this for you. Add it to the automanager if you want it
loaded all the time.
The code is listed below in case anyone else wants such a beast.
=09
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Martin Roundill
GIS Manager
Waitakere City Council
Private Bag 93109
Henderson
Waitakere City
New Zealand
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D AutoMapMax.mb Start
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
'Program to maximise map windows when they are first created
'Written by Martin Roundill for Catherine Lessard
'in response to a query on MapInfo-L
' 31 Jan 2001
' GIS Manager
' Waitakere City Council
' Private Bag 93109
' Henderson
' Waitakere City
' New Zealand
' [EMAIL PROTECTED]
include "mapbasic.def"
dim wins as string
dim maxwin as logical
Declare sub main
Declare Sub WinChangedHandler=20
Declare sub ToggleMax
Declare Function NewWin(ByVal ID as integer) as logical
Sub Main
wins =3D "|"
maxwin =3D true
Alter ButtonPad id 4 add=20
ToggleButton=20
Helpmsg "Maximises new map windows"
calling toggleMax
icon 129
check
Fixed
End Sub
Sub WinChangedHandler=20
if frontwindow() then
if maxwin and windowinfo(frontwindow(),WIN_INFO_TYPE) =3D
WIN_MAPPER and NewWin(frontwindow()) then
set window frontwindow() max
end if
end if
End Sub=20
Function NewWin(ByVal ID as integer) as logical
'The variable wins stores the id's of the windows in the form of
'a string like "|25475|784587|"
if instr(1,wins,"|"+id+"|") then
NewWin =3D False
else
NewWin =3D True
wins =3D wins+id+"|"
end if=09
End Function
Sub Togglemax
if maxwin then
maxwin =3D false
else
maxwin =3D true
end if
end sub
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D AutoMapMax.mb End =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
-----Original Message-----
From: Catherine Lessard, KOREM [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 31 January 2001 09:54
To: [EMAIL PROTECTED]
Subject: MI-L Default window size
Hello to all,
Does anyone know of a way to set a default size for the map window so
that, for exemple, when opening any first table in MapInfo, the map
window would be automatically drawn to the full screen size and not to
only a quarter of the screen or about?
Thank you for any hint to the answer!
Have a good day,
Catherine Lessard
G=E9ographe - Cartographe
KOREM inc.
www.korem.com
--
_______________________________________________
KOREM (http://www.korem.com)
GEObroadcasting your information
GEOdiffusion de l'information
_______________________________________________
Best MapInfo New Partner 2000 - North America
_______________________________________________
Catherine Lessard
KOREM inc.
680, boul. Charest Est
Qu=E9bec (Qc)
G1K 3J4 t=E9l.: 418 647-1555
CANADA fax: 418 647-1666
T=E9l=E9phone sans frais: 1 888 440-1MAP
_______________________________________________
_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.
_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.