Hello, Custom Buttons created via Integrated Mapping [VB, Delphi, Scripting Languages,etc] do not show up in the map. You must do the MI/MB coding inside your application button press Then you call the ID of the MI button from your button.
If you are wanting feed back like creating your own search tool [info replacement] then you must use Classes in VB or CallBacks in Delphi which your MI/MB button uses the *Calling OLE ClassName* that is in your code. You then get the mouse button up/down, lat/x, lon/y, shift key pressed and other information you extract from the returned MI string and do further processing on. Example of getting the StatusBar Text and SearchPoint [info] from MI using VB Classes www.wap3.com/download/v5CalBck.zip Follow the _HowTo.txt file to create additional Class Definations for other buttons If you need a bit more help, I'll have to modify the example at the office as I have not reinstalled VB since the last sytem upgrade here at home. Trey Pattillo -97.665333W 27.799121N www.wap3.com [EMAIL PROTECTED] ----- Original Message ----- From: "Thomas Brix Lyng" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 17, 2001 02:22 Subject: MI-L MI VB mi.do command for creating buttonpads in MapInfo > Hi > > Does anyone have a working example of creating and showing buttonpads in > MapInfo using the "mi.do" command. > > I have tried the various examples in the manual and in articles om MapInfo > website and my program runs ok but nothing happens in MI. > > How do I get the VB program to start MI. And how do I use VB to create AND > show buttonpads in MapInfo? > > Please advice. > > Regards > > Thomas Brix Lyng > Frederikshavn Munincipal Administration > Denmark > > > > _______________________________________________________________________ > 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. _______________________________________________________________________ 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.