MapBasic is a programming language for creation of additional tools and functionality for the MapInfo geographical information system.

learn more… | top users | synonyms

5
votes
3answers
5k views

Getting Started with MapBasic?

I am new to MapBasic. I googled for tutorials and found various PDFs but could not get started with the resources. I would be glad if anyone could provide some path for learning MapBasic.
1
vote
1answer
171 views

Is toggle button's state stored in some property in Mapinfo?

Well can we retrieve On or OFF state of toggle button. Do we have any property of toggle button that can be read from toggle button that is ON or OFF?
0
votes
1answer
390 views

Making a Button in mapinfo with conditional function

I have following code : Sub create_ButtonFromVendor Dim i As Integer i=1 Create ButtonPad "allVendor" As ToggleButton Icon MI_ICON_ZOOM_QUESTION Calling ...
0
votes
1answer
926 views

How is object created as line using createline stored in .tab file?

I used Mapbasic and made data imported from excel into mappable and added projection to WGS 84 and updated table using: update TABLE set obj = createline(x1,y1,x2,y2) to create line and the line ...
0
votes
1answer
396 views

How to upload lines created by joining longitude, latitude pairs?

The data in a Mapinfo table contain longitude and latitude pairs. I have joined the point pairs using : Making the table mappable Setting the projection to WGS84 and update TABLE set obj = ...
0
votes
1answer
524 views

How to close all layers in Mapinfo?

I want to close all layers in Mapinfo except one and again add one layer. How to do so in Mapinfo using Mapbasic or without?