MI-L Vedr.: MI-L Three MapBasic questions

2002-12-05 Thread Peter Laulund
Hi 1: No but if you parse the argument as a string - like, ABC;true, ABC;false or ABC; your function can then test the different valuse 2 and 3: In version 7 you can actualy place a Map in a Control using the "Control DocumentWindow" thake a look at the sampelcode for the NORTHARROW.MBX Peter

MI-L Vedr.: MI-L changing symbol styles in MapBasic

2002-11-01 Thread Peter Laulund
Hi Jean The way to do this is to use af function, take a look at the code below to have an ideer Peter include "Mapbasic.def" Declare Sub main Declare function NewStyle(byval o as object, byval k as smal

MI-L Vedr.: MI-L Print to file via MapBasic

2002-10-22 Thread Peter Laulund
print, when the print is don just use mapbasic to rename the printfile Peter Laulund National Survey and Cadastrer, Denmark PS. I use this for batch printing of maps to PostScript, I then use Image Alchemy to create high quality raster ( 1016 dpi ) maps

Vedr: MI-L rowid of selected object

2001-09-18 Thread Peter Laulund
er if selectioninfo(sel_info_nrows) = 1 then print commandinfo(CMD_INFO_ROWID) end if end sub Med venlig hilsen Peter Laulund * Kort & Matrikelstyrelsen · www.kms.dk National Survey and Cadastre - Denmark Rentemestervej

Vedr: Re: MI-L MB: Alter and update table sub procedure

2001-08-09 Thread Peter Laulund
Til:MapInfo-L <[EMAIL PROTECTED]> cc:

Vedr: Re: MI-L file extension

2001-07-04 Thread Peter Laulund
cc: (bcc: Peter Laulund/MI/KMS)

Vedr: MI-L Challenge for all mapbasic programmers

2001-06-27 Thread Peter Laulund
code easy to change and understand i split it into many procedures an function as possible (max one pge pr. function / procedure) Med venlig hilsen Peter Laulund * Kort & Matrikelstyrelsen · www.kms.dk National Survey and Cada

Vedr: MI-L distance to nearest point

2001-06-08 Thread Peter Laulund
Til:[EMAIL PROTECTED]

Vedr: MI-L: Using API call SHBrowseForFolder

2001-05-04 Thread Peter Laulund
SHGetPathFromIDList() function sBuffer = String$(260, " ") Med venlig hilsen Peter Laulund * Kort & Matrikelstyrelsen · www.kms.dk National Survey and Cadastre - Denmark Rentemestervej 8 · DK 2400 København NV E-mail: [E

Vedr: MI-L Creating a line cover from points

2001-04-27 Thread Peter Laulund
Hi Jon just type this in the MapBasic window set coordsys table MyTabName update MyTabName set obj = CreateLine(start_x, starty, end_x, end_y) and voila, you get your line Med venlig hilsen Peter Laulund * Kort & Matrikelstyre

Re: MI-L Text Scaling

2001-03-21 Thread Peter Laulund
control text in MapInfo. If you can calculate the zoom witout the mb function you can doo evrything using the MapBasic Window. Good luck Peter -- Videresendt af Peter Laulund/MI/KMS - 21-03-2001 09:37 --- [EMAIL PROTECTED] - 30-06-2000 09:40:37

Vedr: MI-L Sleep function in MapBasic?

2001-03-05 Thread Peter Laulund
fo-L (E-mail)" <[EMAIL PROTECTED]>

Vedr: MI-L Need Code to find nearest Point

2001-01-08 Thread Peter Laulund
(centroidx(MyPoint), CentroidY(MyPoint), centroidx(Obj), CentroidY(Obj), "m")) from MyPointTab) Med venlig hilsen Peter Laulund * Kort & Matrikelstyrelsen · www.kms.dk National Surve

Vedr: MI-L Buffer size

2001-01-03 Thread Peter Laulund
Hi Dave In the Mapbasic window try this Set table myTab Fastedit on Update myTab set obj = Buffer(obj, 24, -100, "m") commit table mytab The set Table... command speed up the proces - but you can revert the change if somthing is wrong Med venlig hilsen Pet

Vedr: MI-L :win2000 character set problem

2000-12-21 Thread Peter Laulund
Hi all we have the same problem with the special danish letters A Merry Christmas and a Happy New Year to everybody and thanks for a interesting list Med venlig hilsen Peter Laulund * Kort