MI-L MB: Hide Show Dialog Controls

2000-10-29 Thread Scott Barling

Hi everybody,

Is it possible to set whether a control is hidden or not in a dialog before
the dialog is opened using MB?

For example:

If the number of tables open is greater than 1 open the dialog with a
control showing, if less than 1, open the dialog with the control hidden.

Please respond to me directly, I will post a summary to the list.

Thanks heaps

Scott Barling
GIS/Assets Technical Assistant

Eurobodalla Shire Council
Tel:+61 (02) 4474 1251
Fax:+61 (02) 4474 1234
e-mail: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 



___
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.



MI Converting text to lines

2000-08-08 Thread Scott Barling

Hi everybody,

Is it possible to convert a text object to a line object?

or maybe draw a line with the same rotation as a text object?

Please reply to me directly at  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 

TIA

Scott Barling
GIS/Assets Technical Assistant
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



MI: Label a Text Object

2000-08-08 Thread Scott Barling

Hi everybody,

Is it possible to label a text object at the same angle (rotation) as the
text object?

I have a field named ID which I would like to label the text objects with.

Please reply to me directly at  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 


Thanks to Chris Perry who responded to my last question:

Is it possible to convert a text object to a line object?

or maybe draw a line with the same rotation as a text object?


To get the angle of text use ObjectGeography(obj,7)
You might be able to get other info (eg. length) using the MBR you can get
the MinX, MinY, MaxX, MaxY with 
ObjectGeography(obj,1)
ObjectGeography(obj,2)
ObjectGeography(obj,3)
ObjectGeography(obj,4)
respectively.


I am still trying to place labels at the same rotation as the text objects.

TIA

Scott Barling
GIS/Assets Technical Assistant
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



MI Delphi Lists

2000-06-15 Thread Scott Barling

Thanks to Richard Metzger, Uffe Kousgaard  Thomas Guelden for their
responses to my question.

This is off the topic of MI, but I was wondering if there are any lists
similar to this one for Delphi??

Their responses are as follows:

Richard:
No, but there is the Borland forum, which has many different Delphi
newsgroups. (forums.inprise.com, then check the borland.public.delphi.*
groups)
On the other hand, there is a list dedicated to Delphi *and* MapInfo, but it
is almost inactive (about 1 message every 6 months...) (
http://www.inmap.co.nz/resources.html
http://www.inmap.co.nz/resources.html  )

Uffe:
Look at http://www.borland.com/newsgroups/
http://www.borland.com/newsgroups/ 
They are not e-mail based like MapInfo-L.

Thomas:
There are various Delphi sections on the Inprise / Borland newsgroups, which
you can access / setup from the Inprise website. The newsgroups are very
useful for technical questions, although not as enjoying as MapInfo-L.


Regards,

Scott Barling
GIS/Assets Technical Assistant

Eurobodalla Shire Council
Tel:+61 (02) 4474 1251
Fax:+61 (02) 4474 1234
e-mail: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 

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



MI Delphi

2000-06-14 Thread Scott Barling

This is off the topic of MI, but I was wondering if there are any lists
similar to this one for Delphi??

TIA

Scott Barling
GIS/Assets Technical Assistant

Eurobodalla Shire Council
Tel:+61 (02) 4474 1251
Fax:+61 (02) 4474 1234
e-mail: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 


--
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 Select a record from Multiple Tables

2000-05-04 Thread Scott Barling

Thanks for your response Jacques,

Bellow is some code I slapped together to solve the problem, it checks all
open tables for the field "Record_ID" and if it finds the field performs a
search for "RecordID" which is a variable entered by the user.

It is quite messy with a lot of Goto statements and labels but it works, any
ideas on a cleaner version?



Dim RecordID As Integer
Dim i, j, jim, n As SmallInt
Dim TabName As String

If RecordID  0
i = 1
Goto Fst
Ba:
i = i + 1
If i = NumTables() Then
Goto Ha
End if
Fst:
For i = i to NumTables()
For j = 1 to TableInfo(i,TAB_INFO_NCOLS)
jim = "COL" + j
If ColumnInfo(i, jim, COL_INFO_NAME) = "Record_ID" Then Goto Ya
End If
Next
Next
Ya:
TabName = TableInfo(i, TAB_INFO_NAME)
Select * From TabName Where Record_ID = RecordID
Order By Record_ID
n = SelectionInfo(SEL_INFO_NROWS)
If n  0 then Goto Ha
End if
Goto Ba
Ha:
End if


Thanks again for your response



Scott Barling
GIS/Assets Technical Assistant

Eurobodalla Shire Council

[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 




-Original Message-
From:   Jacques Paris [SMTP:[EMAIL PROTECTED]]
Sent:   Thursday, 4 May 2000 21:48
To: Scott Barling
Subject:RE: MI Select a record from Multiple Tables

Scott,

With two tables, it is quite simple

select * from Swr_MH where Asset_ID = 09563

if selectioninfo(3) =0 then
'your record is in the other table
else
'it is already selected in Swr_MH
end if

One can think about many little things to add to that but I believe
that the
essence is there.

Good luck

Jacques Paris

e-mailalternate
 [EMAIL PROTECTED]   [EMAIL PROTECTED]

paris PC Consult (mainly MapInfo app.)
 www.total.net/~rparis/gisproducts.htm

-Original Message-
From: [EMAIL PROTECTED]
    [mailto:[EMAIL PROTECTED]]On Behalf Of Scott Barling
Sent: May 3, 2000 9:57 PM
To: MapInfo-L (E-mail)
Subject: MI Select a record from Multiple Tables


Hi All,

Just wondering if it is possible to select a record with a certain
value
from a set of tables if you don't know which table the record is in?

Let me explain with an example:

Tables  Fields

Swr_MH  Asset_ID
MH_No

Swr_PipeAsset_ID
Pipe_No


If I have both tables open in MI and would like to select the record
with an
Asset_ID of 09563 but am unsure of which table it is in, is there a
piece of
code to achieve this sort of thing?

I want to build an mbx to perform a search on all open tables, for
the table
and record containing an Asset_ID entered by the user, and than to
select
that record.


Any help greatly appreciated and of course I will Sum.

Regards,

Scott Barling
GIS/Assets Technical Assistant

Eurobodalla Shire Council

[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]

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



MI Select a record from Multiple Tables

2000-05-03 Thread Scott Barling

Hi All,

Just wondering if it is possible to select a record with a certain value
from a set of tables if you don't know which table the record is in?

Let me explain with an example:

Tables  Fields

Swr_MH  Asset_ID
MH_No

Swr_PipeAsset_ID
Pipe_No


If I have both tables open in MI and would like to select the record with an
Asset_ID of 09563 but am unsure of which table it is in, is there a piece of
code to achieve this sort of thing?

I want to build an mbx to perform a search on all open tables, for the table
and record containing an Asset_ID entered by the user, and than to select
that record.


Any help greatly appreciated and of course I will Sum.

Regards,

Scott Barling
GIS/Assets Technical Assistant

Eurobodalla Shire Council

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



MI Run Program Statement

2000-03-16 Thread Scott Barling

Thanks to everyone who helped out on this one.

It was just a matter of getting the right amount of quotes in the right
places.

It also worked by truncating the path with a space in it to dos's way of
looking at things.

Ie.  C:\MyDocu~1\..

Thanks again to the List for showing the way.

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



MI Labels

2000-03-15 Thread Scott Barling

Thanks to all who responded.

It seems the most positive responses were about EverName by EverMap
www.evermap.com http://www.evermap.com 

Other suggestions were:

Discover by Encom Technologies www.encom.com.au http://www.encom.com.au 
Label-EZ by MapText www.maptext.com http://www.maptext.com 
And a document on Label Tricks, Tips  Traps freely available on
www.sgsi.com http://www.sgsi.com 

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



MI Run Program Statement

2000-03-15 Thread Scott Barling

Hi everybody,

Hopefully just a quickie.

Is there any way of opening an application and a file from MapBasic?

I have tried the following but it seems to be having a problem with the
space in "My Documents"

Run Program "C:\Program Files\Microsoft Office\Office\Excel.exe C:\My
Documents\Personal\Pay.xls"
Run Program "C:\Program Files\Microsoft Office\Office\Excel.exe" "C:\My
Documents\Personal\Pay.xls"

Neither of the above work but I can get it to open files from paths without
spaces.

Any Ideas?

TIA

Scott
[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 
--
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 windowid syntax

2000-03-07 Thread Scott Barling

Hi Daniel,

I think what you're after might be:

Dim Window_id as Integer

Window_id = WindowInfo(FrontWindow(),WIN_INFO_WINDOWID)

HTH

Scott.

-Original Message-
From:   Daniel Groleau [SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, 8 March 2000 3:41
To: [EMAIL PROTECTED]
Subject:MI windowid syntax

hi

i'm trying to set my window parameters and for that i need to get my
active 
window identifier. I know, i know, it must seem very easy for some
of you 
out there but not for a bad programmer like me. Can somebody give me
the 
proper syntax to use this function (windowid() or frontwindow())

Thanks community
__
Get Your Private, Free Email at http://www.hotmail.com


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



MI Using Variables with Type Statements

2000-03-01 Thread Scott Barling

Hi everybody!

I'm having a bit of a problem here and am after some HELP!
Below is some code, the top part of which is a working version, the bottom
part is what I want to use to achieve the same result as the top part.


Dim MapSetup As String
Dim MapSetupx, MapSetupy, MapSetupz As Float
Dim MapSel As SmallInt

MapSel = 1

MapSetupx = MapScaleList(MapSel).A4xp ' Values in a Text file. When this is
run MapSetupx = 150.078
MapSetupy = MapScaleList(MapSel).A4yp
MapSetupz = MapScaleList(MapSel).A4zoomp

MapSetup = "Set CoordSys Earth Set Map Window " + Window_id + " Center (" +
MapSetupx + ", " + MapSetupy +") Zoom " + MapSetupz + " Units ""mi"""

Run Command MapSetup




Dim MapSetup, MapSetupx, MapSetupy, MapSetupz As String
Dim MapSel, SizeSel As SmallInt

MapSel = 1
SizeSel = 1

MapSetupx = "MapScaleList(" + MapSel + ")." + MapSizeList(SizeSel).Descript
+ "yp" ' Values in a Text file. When this is run MapSetupx =
MapScaleList(1).A4xp
MapSetupy = "MapScaleList(" + MapSel + ")." + MapSizeList(SizeSel).Descript
+ "yp"
MapSetupz = "MapScaleList(" + MapSel + ")." + MapSizeList(SizeSel).Descript
+ "Zoomp"


MapSetup = "Set CoordSys Earth Set Map Window " + Window_id + " Center (" +
MapSetupx + ", " + MapSetupy +") Zoom " + MapSetupz + " Units ""mi"""

Run Command MapSetup




How do I get the values of  MapSetupx,y,z and put them into Float Variables
for use in the Set Map Window Statement?

I've had a bit of a play with Alias's but do not know if this is the way to
go.

Please HELP, HELP, HELP

TIA

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



MI-SUM Using Variables in Map From statements

2000-02-23 Thread Scott Barling

Firstly I would like to thank everyone (Jacques, Chris, Debbie, Trey, Peter,
Mark, David, Jo Ellen) who responded to my question.

As usual the answer was very quick in reaching me.

The solution to using Variables in Map From statements is to use Run
Command.

Eg.

String = Tab1, Tab2, Tab3

Run Command "Map From " + String

SIMPLE!

Thanks again

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



MI -SUM Hide a Custom Dialog Box

2000-02-23 Thread Scott Barling

Thanks to all who help out on this one.

Everyone suggested the same thing.

When the dialog is dismissed read all values from the dialog controls into
variables and then use these variables to set each controls Value when the
dialog is re-opened.

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



MI Using Variables in Map From statements

2000-02-22 Thread Scott Barling

Hi all,

A quick question

I have some code (below) which places all the currently opened tables names
in a string separated by commas.

What I want to be able to do is create a map using this string.

Using the Map From Variable works when there is only one table open but when
more than one is open it comes up with the error: Expression does not
evaluate to a column or table name.

If I issue Map from Tab1, Tab2, Tab3 from the MapBasic window it works.

For i = 1 to NumTables()
If i  NumTables() Then
Tabs = Tabs + TableInfo(i,TAB_INFO_NAME)+ ", "
Else
Tabs = Tabs + TableInfo(i,TAB_INFO_NAME)
End If
Next

Map From Tabs


It's probably something simple I'm missing.

TIA for you help

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



MI Hide a Custom Dialog Box

2000-02-22 Thread Scott Barling

Hi again,

Another quickie,

Is it possible to hide a custom dialog box and then show it again later with
the same values selected as when it was hidden?

TIA
Scott.
[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 
--
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 Restore Previous Session

2000-01-26 Thread Scott Barling

Fran,

MI saves the previous session workspace (mapinfow.wor) into your windows
directory.

It only saves this workspace when MI is closed normally, not when you are
"booted out".

Hope this is of some use.

Scott
[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 


-Original Message-
From:   Fran Peck [SMTP:[EMAIL PROTECTED]]
Sent:   Thursday, 27 January 2000 9:19
To: Mapinfo List (E-mail)
Subject:MI Restore Previous Session

How does MI decide which previous session to restore?
Occassionally, when I
have been "booted out" or had to restart because of a lock up, I do
not get
the immediate previous session, it may be the session before. 

Fran Peck
Peoria Unified School District
6330 W Thunderbird Rd
Glendale, AZ 85306
Voice: 623-486-6099
Fax: 623-486-6111
Email: [EMAIL PROTECTED] 


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



MI Selecting Deleting Text from a Layout

2000-01-10 Thread Scott Barling

Thank you all for your invaluable help,

Below is the extract of code which achieves the solution to my problem.

My original question was:

I would like to know how to delete a text object from a layout if it has a
certain value.


Text = "Akolele"
LayoutTab = WindowInfo(FrontWindow(), Win_info_table)

Select * from LayoutTab where Str$(Obj) = "Text"
Select * From Selection Where Str$(ObjectInfo(obj,OBJ_INFO_TEXTSTRING))=
Text
If SelectionInfo(SEL_INFO_NROWS) Then
Delete From Selection
End if


Text is a String Variable
LayoutTab is also a String and contains the name of the underlying table
used for the Layout.

Your help has been great and I thank you again.

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



MI Selecg Deleting Text from a Layout

2000-01-06 Thread Scott Barling

Tim  Yannick,

Thanks for your responses.

You both suggested the same initial solution:

1.  In the ObjectInfo function, change 'selection.obj' to simply 'obj'
2.  Wrap the entire ObjectInfo function into a Str$() function like
this:
Str$(ObjectInfo(obj, OBJ_INFO_TEXTSTRING)) = Text

Which I have already tried only to get the error:

ObjectInfo: argument 2 out of range.


Yannick,

You went on to suggest the following:

If you want to include a variable in the condition, you have to use Run
Command. If not, the condition will be tested on text itself and not the
content of text. So, here's another look at the command.


Dim select_cmd,
LayoutTab,
Text as String

LayoutTab = WindowInfo(FrontWindow(), WIN_INFO_TABLE)
Text = "Akolele"
Select_cmd = "Select * from "+LayoutTab+" Where Str$(ObjectInfo(obj,
OBJ_INFO_TEXTSTRING))="+TEXT
Run Command select_cmd
Delete from selection



I tried this and received the error:

File #0 not registered for access.
Found [] while searching for [A string constant].


I also tried to replace the variable with the actual text in the variable
ie.

. _TEXTSTRING)) = Akolele"

For this one I receive the error:

File #0 not registered for access.
Variable or Field OBJ_INFO_TEXTSTRING not defined.

I have Included mapbasic.def at the start of the program.

Any further suggestions ideas would be greatly appreciated.

Thanks again for your help so far.

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



MI Deleting Text from Layout

2000-01-05 Thread Scott Barling

Hi all,

Hope you had a great holiday season.

I'm back at work for three days and stuck already!

I would like to know how to delete a text object from a layout if it has a
certain value.

I have checked out the archives and picked up some hints but am still
struggling.

Below is what I have been trying to no avail.


*
Dim LayoutTab,Text As String

LayoutTab = WindowInfo(FrontWindow(), Win_info_table)
Text = "Akolele"

Select * From LayoutTab Where ObjectInfo(Selection.obj, OBJ_INFO_TEXTSTRING)
= Text
Delete From Selection


**


I think I'm on the right track but not entirely sure.

Please Help

TIA

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



MI Create Text in a Layout

1999-12-22 Thread Scott Barling

Merry Christmas, hope you all have a great time.

I have a problem creating text in a layout from MB.

I would like to use (x1, y1, x2, y2) in a Create Text statement so that the
text created is centred within these co-ords.

Below is an extract from help (Create Text Statement) explaining this is not
possible.

The x1, y1, x2, and y2 arguments define a rectangular area. When you create
text in a Map window, the text fills the rectangular area, which controls
the text height; the point size specified in the Font clause is ignored. In
a Layout window, text is drawn at the point size specified in the Font
clause, with the upper-left corner of the text placed at the (x1, y1)
location; the (x2, y2) arguments are ignored.


Does anyone have any suggestions on how I can get around this?

TIA and have a great Christmas


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



MI Using the data in a String Variable

1999-12-19 Thread Scott Barling

I asked a question a couple of days ago which was poorly worded and resulted
in the correct response for the question but not what I was after (Thanks
Peter Moller).

This would work for the question asked, but what I really stuffed up in the
question is that the layout I want to create is the one whose data is in the
string variable, as there may have been other layouts created and closed
etc. in between


I have a string variable, (LayView), which contains the MB code to create a
Layout window.

Is there a way to extract this data to use in a layout command?

I want to create a layout using the data in the string.


LayView contains the following data:


Layout
  Position (4.69792,2.13542) Units "in"
  Width 5.29167 Units "in" Height 3.09375 Units "in" Min
  Set CoordSys Layout Units "in"
  Create Frame (1.9188,1.3042) (41.9188,27.5604)
Pen (1,2,0) 
Brush (2,16777215,16777215)
Title "Complying Development"
FillFrame On
  Create Text
"LEGEND - SOURCE OF DATA"
(37.059,27.8069) (40.7292,28.1)
Font ("Bookman Old Style",7,18,0)

  Create Line (37.0896,28.4243) (37.8528,28.4243)
Pen (3,2,16711935) 
  Create Text
"No Information available,\nor follows 10 m Contour Line"
(37.9764,28.2028) (40.6479,28.6792)
Font ("Bookman Old Style",2,14,0)
etc...

Sorry about the first question (I was extremely tired when I posted it).

Thanks heaps for any responses to this question.

Scott

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



MI Using the data in a String Variable

1999-12-16 Thread Scott Barling

I have a string variable, (LastView), which contains the MB code to create a
Layout window.

Is there a way to extract this data to use in a layout command?

I want to create a layout the same as the last one opened.


If WindowInfo(FrontWindow(),WIN_INFO_TYPE) = WIN_LAYOUT then
LastView = WindowInfo(FrontWindow(),WIN_INFO_CLONEWINDOW)
end if

Layout 
LastView



LastView contains the following data:


Layout
  Position (4.69792,2.13542) Units "in"
  Width 5.29167 Units "in" Height 3.09375 Units "in" Min
  Set CoordSys Layout Units "in"
  Create Frame (1.9188,1.3042) (41.9188,27.5604)
Pen (1,2,0) 
Brush (2,16777215,16777215)
Title "Complying Development"
FillFrame On
  Create Text
"LEGEND - SOURCE OF DATA"
(37.059,27.8069) (40.7292,28.1)
Font ("Bookman Old Style",7,18,0)

  Create Line (37.0896,28.4243) (37.8528,28.4243)
Pen (3,2,16711935) 
  Create Text
"No Information available,\nor follows 10 m Contour Line"
(37.9764,28.2028) (40.6479,28.6792)
Font ("Bookman Old Style",2,14,0)
etc...


TIA for any isight into my pob.

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



No Subject

1999-12-13 Thread Scott Barling

Is it possible to get MapInfo to run code from a MapBasic app (which is
loaded  when a workspace is opened) every time the focus changes between
windows open in MapInfo?
Is there a specific handler for this?
Any help/ideas appreciated.
TIA
Scott.
[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 

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



MI Run Code on Focus Change

1999-12-13 Thread Scott Barling

Please disregard my previous question on the above subject.

Just as I sent the message it dawned on me what I had to do and after a bit
more probing found what I needed.

Thanks anyway,

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



MI Action on Close

1999-12-08 Thread Scott Barling

Thanks to Gary  Chris,

The information they supplied was invaluable.

Below is the section of code which accomplishes my problem. 


sub SaveTableEditsHandler

if CommandInfo(CMD_INFO_EDIT_TABLE) = "Swr_Cat" then
Terminate Application "SewerViews.mbx"
end if

end sub 'SaveTableEditsHandler


Thanks again

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



MI Action on Close Table

1999-12-07 Thread Scott Barling

I have a MapBasic app which opens when I open a table in MapInfo, using the
RUN APPLICATION command.

Is it possible to have MapInfo close this application when the table is
closed?

Any help on this would be greatly appreciated

Cheers,

Scott

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



MI Help on Labels

1999-10-28 Thread Scott Barling

G'day everyone,

I'm having problems producing text labels for layers in MapInfo v5.5.

Is there a way to convert an entire layers labels into text objects without
having the whole layer in view?

When I do this using the MapBasic applications Labeler or AutoLabeler I get
text which is huge.  I want the text to be about 7 pt when the map is at a
scale of 1:1000.

Any help on the subject would be greatly appreciated

Thanks,

Scott Barling

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



MI TEXT LABLES

1999-10-26 Thread Scott Barling

Is there a way to convert an entire layers labels into text objects without
having the whole layer in view?

When I do this using the MapBasic applications Labeler or AutoLabeler I get
text which is huge.  I want the text to be about 7 pt when the map is at a
scale of 1:1000.

Any help on the subject would be greatly appreciated

Thanks,

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