Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to write a code which has dialog including such as toggle button, edittext, pushbutton, popupmenu, etc. I have no problem with all, but when the dialog screen which is named "Find Name" is seen on Map Window, I could not do something without closing dialog screen. I want to work with "Find Name" dialog screen and also use all the tools in MapInfo such as "Radius Select", "Grabber", etc. without closing dialog screen. How to do either using MapInfo tools and appearing "Find Name" dialog screen on the Map Window at the same time.

Thanks in advance.

share|improve this question
Does the screen close or does it go behind the active window? – Jamie Oct 23 '11 at 13:52
I think this might be helpful.Download visual studio and use it's GUI builder. You can find a lot of example online. You can call other application from mapinfo using Run Program command. Use mapbasic reference guide for more help. Search Integrated Mapping in the guide. :) – kinkajou Oct 25 '11 at 0:36
up vote 0 down vote accepted

If you are looking for a floating kind of window like the new Layer Control and the TableList window, you need to create your window/dialog using for example .NET.

The dialogs created thru MapBasic are modal and prevents the user from using the MI Pro while the dialog is open on the screen.

So create a window in .NET, compile that into a dll and use the Declare Method statement that was added to MapBasic 9.5 to make this .NET method available to your MapBasic application

share|improve this answer
Hi Peter, Thanks for your reply. I see that. If you have an example about .NET, could you please give a sample application using .NET to create a window? Thanks and regards... – Hasan Oct 24 '11 at 12:59
Have a look at the NamedViews sample code that comes with MapBasic: Samples\DOTNET\NAMEDVIEWS\ – Peter Horsbøll Møller Oct 28 '11 at 7:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.