[MI-L] Right aligning text in a dialog box ??

2006-08-29 Thread Doyle, Peter W
Greetings list, Does anyone have any tips, ideas or know of any functions to allow Right alignment of StaticText controls in a dialog box. At the moment it is by trial and error, and we all know how long it takes to lay out a nice looking dialog. Regards Peter Doyle

[MI-L] GoogleView v2.3 posted to Directions Magazine website

2006-08-07 Thread Doyle, Peter W
Title: GoogleView v2.3 posted to Directions Magazine website Greetings List, I have posted an updated version of GoogleView (v2.3) to Directions Magazine website. You can download it from http://www.directionsmag.com/files/index.php/view/709 If you are upgrading from a previous version

[MI-L] Floating Screen protractor

2006-08-02 Thread Doyle, Peter W
Title: Floating Screen protractor Greetings list, Does anyone know of a windows utility that will display a floating protractor that is able to be dragged arount the screen. I want to overlay this on a mapper window to choose bearings. I am aware of the Distance /Bearing mbx, but I need

[MI-L] FileOpenDialog problem

2006-06-29 Thread Doyle, Peter W
Title: FileOpenDialog problem Greetings List, Does anyone have any idea what could be causing the following problem When executing the following line of code a dialog with the error message Unable to access string resource (3395) appears FileName = FileOpenDlg(D:\testfiles,,*.csv,Select

[MI-L] Updated GoogleView.mbx Posted to DirectionsMag

2006-06-28 Thread Doyle, Peter W
Title: Updated GoogleView.mbx Posted to DirectionsMag Greetings list, As some of you have may have discovered, GoogleView (v2.1) returns an error message when using it with Google Earth v4. I have posted an update of GoogleView (v2.2) which fixes this problem to the DirectionsMag

[MI-L] GoogleView.mbx and GoogleEarth v4 beta problem

2006-06-20 Thread Doyle, Peter W
Title: GoogleView.mbx and GoogleEarth v4 beta problem Greetings list, Just a heads up for a potential problem when using my GoogleView.mbx utility (http://www.directionsmag.com/files/index.php/view/681) with the new GoogleEarth v4 beta Those of you using GoogleView, and have downloaded

[MI-L] MultiList Box - Select All ?

2006-03-05 Thread Doyle, Peter W
Greetings List, Is there a way to select all entries in a "MultiList Box" dialog control using mapbasic code? Eg. Ihave a dialog with a MultiList Box displaying the contents of an array. I would like to be able to select a button on the same dialog, and have all enteries selected

[MI-L] GoogleView.mbx v2.1 posted to Directions Mag

2006-02-12 Thread Doyle, Peter W
Greetings List, I have posted an update to GoogleView.mbx (v2.1) to Directions Mag. You can download it from http://www.directionsmag.com/files/index.php/view/681 For those of you that have v2.0, the only change is that it allows you to save out a KLM file to share with others, and allows you

[MI-L] View Mapinfo location in Google Earth

2006-02-01 Thread Doyle, Peter W
Greetings List, I have written a small utility that allows you to click on a point in your mapper window and then zooms to that location in Google Earth. If you are interested let me know and I will forward it to you. Regards Peter Doyle ___

[MI-L] Displaying Theme Legends in layouts

2006-01-22 Thread Doyle, Peter W
Greetings list. Although I have a solution, I was wondering how other users display large Theme Legends that are too big for a single layout page. What I currently do is place as many frames on the layout page containing the (same) legend as is needed, then move and resize these frames to

MI-L Looking for - Hardcode Thematic.mbx - by Steve Chan

2005-09-16 Thread Doyle, Peter W
Greetings listers, Does anyone know where I can obtain a copy of Steve Chan's Hardcode Thematic.mbx I have searched the net, and can only come up with email references to this utility. Doesn't seem to appear on Directions Mag either. If someone could send me a copy I would realy appreciate it.

MI-L Mapinfo system error

2005-06-02 Thread Doyle, Peter W
Greetings list, Has anybody come across the following Mapinfo system error dialog, and can tell me what it means? Unable to access string resource (3395) I am usining Windows XP, and Mapinfo v7.8 This dialog appears when I try to run an mbx I created using Mapbasic v7.5. I have recompiled it

MI-L Looking for date formating utility

2005-02-15 Thread Doyle, Peter W
Greetings List, Would anybody have a copy of SuperWor.mbx. I beleive it is a utility that embeds the current date into workspace files. or would anybody have a utility to format the date into the following format - 16th Feb 2005 Regards Peter

MI-L Proviewer Workspace to enable menus

2004-10-26 Thread Doyle, Peter W
Greetings List, Could someone forward me a copy of the recent email containing the textual version of the Workspace that allows ProViewer to load extra menus. I deleted it by mistake, and can't remember who the sender was. It was posted to the list somewhere within the last couple of weeks.

RE: MI-L Cloning Layout Windows

2004-05-12 Thread Doyle, Peter W
Greetings list, Thanks to Jaromir for his Clone window utility - very handy. Althouh when I right click on a Browser window to bring up the shortcut menu, I only get one option which says Tool Manager... Does anyone else see this? What do others see when bringing up the shortcut menu on a

MI-L Mapbasic Windows API question

2004-03-15 Thread Doyle, Peter W
Greetings List, I am running a windows batch file from within Mapbasic. Does anybody know of a Windows API call that will return an error level code when a batch file has finished running in the command window. What I am trying to do is have the Mapbasic code wait till the batch file has

MI-L Mapinfo 7.5 WMS question

2004-03-01 Thread Doyle, Peter W
Greetings List, Does anybody know how I can configure WMS in Mapinfo 7.5 to go through a firewall. When behind a firewall and I select File Open WMS Mapinfo just sits there for what seems like an eternity before coming back with the WMS dialog box. When not behind a firewall the WMS dialog

MI-L Run Program command under XP

2004-02-17 Thread Doyle, Peter W
Greetings list, I am having trouble using the Run Program command in mapbasic under windows XP When I run the following batch file (Junk.bat) from the windows XP command prompt, I get the required result (eg: a listing of all tab files in a directory) Contents of Junk.bat dir

RE: MI-L Run Program command under XP

2004-02-17 Thread Doyle, Peter W
[EMAIL PROTECTED] -Original Message- From: Doyle, Peter W [mailto:[EMAIL PROTECTED] Sent: Wednesday, 18 February 2004 13:47 To: [EMAIL PROTECTED] Subject: MI-L Run Program command under XP Greetings list, I am having trouble using the Run Program command in mapbasic under

MI-L Reordering objects in a thematic map

2003-10-30 Thread Doyle, Peter W
Greetings list, I have a single layer with 6 overlaying objects object 1 is the biggest down to object 6 the smallest. I want to create a thematic map that shows the layer from smallest object on top to biggest object on the bottom. It seems as though no matter what order the objects are in

MI-L Mapinfo to Mapopolis converter (for Palm handheld)

2003-02-24 Thread Doyle, Peter W
Greetings List, Does anyone know where I can get information on Mapopolis file format and/or utilities to convert Mapinfo street file to Mapopolis format. I remember seeing a utility by American Clearinghouse (or something to that effect) that could do this, but have bee unable to locate it.

MI-L Table update column with Centroid(x) Centroid(y) problem

2003-01-30 Thread Doyle, Peter W
Greetings List, I have a table whos native coordinate system is MGA Zone 55 (GDA 94) (Australian grid). I am trying to update some columns to contain the CentroidX(obj) CentroidY (obj) values of the point objects in this table. The update command works but is returning the values as

MI-L How do I Select all Items in a MultiListBox useing code

2003-01-09 Thread Doyle, Peter W
Greetings List, Is there any way to have all items in a MultilistBox initially selected when a dialog is opened Regards Peter Doyle TELSTRA Infrastructure Services Mobile Network Services, Qld Geographical Information Systems Mapping +61 7 38871128 Email: [EMAIL PROTECTED]

MI-L Multilistbox selection problem

2003-01-08 Thread Doyle, Peter W
Greetings list, I am having trouble trying to extract the selections of a MultiListBox control I am calling the following from the OKButton Handler Sub OKHandler w = ReadControlValue(1) 'this is the MultiListCox control ID Print UserSelection(w)

MI-L Table Directory Locator Update

2003-01-06 Thread Doyle, Peter W
Greetings List, I sent a number of you a copy of TDL v1.0 (Table Directory Locator) prior to Christmas. This utility displays a list of open tables and returns the directory path of the selected table. I have just updated this utility to v1.1 with the following Enhancements/Additions... 1)

MI-L Table Directory Locator

2002-12-18 Thread Doyle, Peter W
Greetings Listers, I would like to wish all of you the best for the festive season and the new year. Thanks to all who have shared their knowledge with me over the past year, its been greatly appreciated. In return I would like to give you a gift of a small utility I have just written called

MI-L Dialog Tab Order

2002-09-18 Thread Doyle, Peter W
Greetings Listers, I am trying to set the Tab Order in a dialog, but I can't seem to get a Radio Group to be the default tab position (eg. the default control that is selected when I open the dialog) The Radio Group in question is the first control listed in the Dialog statement, but when I

MI-L Auto load correction

2002-09-02 Thread Doyle, Peter W
Greetings Listers, The Auto load code mentioned in my last message comes with MapBasic, not Mapinfo. Sorry for the confusion. ( eg. \mapbasic5\samples\mapbasic\lib\auto_lib.mb) Still looking for some ideas Regards Peter Doyle TELSTRA Service Operations Network Operations Wireless Networks,

MI-L Capturing cancel button press on non custom dialog

2002-05-22 Thread Doyle, Peter W
I am using the following command to bring up the Text Style dialog - Run Menu Command 504 My problem is, I am having trouble trying to detect if the Ok or Cancel button was pressed on the dialog. Pressing either button seems to return the same result. Is there a way to capture if the cancel

MI-L Detecting Message Window Closure in Mapbasic

2002-05-09 Thread Doyle, Peter W
Greetings List, Does anyone know of a way to detect the closure of the Message Window in Mapinfo by using Mapbasic code. I have looked into the various Handler procedure, but none of the seem to allow for this. The closest I could find was the WinClosedHandler procedure, but this doesn't detect

MI-L Dialog problem

2002-04-23 Thread Doyle, Peter W
Greetings List, I am wondering if anybody has come across the following problem to do with dialog controls In simple terms, I have a dialog box with 4 controls (EditText, Button, CancelButton OKButton) Pressing the Button calls the FileOpenDlg box allowing you to choose a file, which is

MI-L FlexiMenu- a dynamic menu creation tool

2002-03-13 Thread Doyle, Peter W
Greetings list, I have just finished a cut down trial version of Flexi-Menu. This tool will allow dynamic creation of Mapinfo menus. In literally minutes you can interactivley create menus that would take magnitudes of time to code With Flexi-Menu you can.. Create single or multi column menus

MI-L Querying an objects attributes

2001-11-14 Thread Doyle, Peter W
Greetings List, I remember downloading a utility that allowed me to query an objects attributes. By clicking on an object, it would return RGB colours and other attributes for that object. I can not remember what the utility was called, does anyone know of the name of this utility or know of a

MI-L Create Menu Problem

2001-09-05 Thread Doyle, Peter W
Greetings, Is there any way to display the \ character as part of the Helpmsg in the Create Menu command Example - When I create a menu as in the following example.. Create Menu x As x ID x Helpmsg c:\temp Calling x The string that appears on the status bar whenever the menu item is

MI-L Copying object attributes

2001-06-12 Thread Doyle, Peter W
Greetings list, Before I go and write a utility to do this, Does anyone know of a utility that will allow you to set a target object, then select another object of the same type, press a buuton and have the target object take on the attributes of the second object (eg. color, background

MI-L Ask Marilyn quiz

2001-04-30 Thread Doyle, Peter W
I reallize the answer to the ask marilyn quiz is probably know to some (US residents by now?) but did anybody check out any of the online world geodatic calculators such as http://www.infoairports.com/freeservices/worlddistance.html Regards Peter Doyle TELSTRA NTG Global Connect OnAir

MI-L Fill polygons with gradient color

2001-02-07 Thread Doyle, Peter W
Greetings list, Does anybody know of a utility that will color polygons with a gradient fill. (eg. top to botom / centre out) Regards Peter Doyle TELSTRA NTG Global Connect OnAir Networks Queensland Geographical Information Systems Mapping ' +61 7 34064304 Email: [EMAIL PROTECTED]

MI-L Memory leaks in MI v6.0

2001-01-15 Thread Doyle, Peter W
Greetings list, Has any body had any problems or suspected problems with memory leaks in MapInfo v6.0 I have utility that runs fine on MapInfo 5.5, but generates out of memory error in v6.0. I am running on Windows NT platform Regards Peter Doyle TELSTRA NTG Global Connect OnAir Networks

MI-L MBCoder comment

2000-12-03 Thread Doyle, Peter W
Jeff, It is people like Trey and many many others that make the list what it is (a very valuable resource ) not to mention the major contributions that are made through the kindness of their hearts (eg' mbCoder) I'm not sure how long you have participated on this list? If you are a recent

MI-L Functions in workspaces

2000-11-29 Thread Doyle, Peter W
Greetings List, I am trying to automatically print the Application Directory (of the current workspace) on a Layout from within a workspace. I can print the Time Date as in the following extract from the workspace... Create Text Str$(CurDate()) (1.1604,32.0389) (1.8535,32.1986)

MI-L BIL file converter

2000-11-15 Thread Doyle, Peter W
Greetings List, Can anybody recomend a tool for converting "BIL" files into Mapinfo format or another format that Mapinfo can read in. I have tried using the "Raster " option in the "Open Table" dialog (which indicates BIL as a supported file type) with no luck. Regards Peter Doyle TELSTRA