MapInfo 64-bit equivalent: run menu command id

26 views
Skip to first unread message

fjavier.gar...@gmail.com

unread,
Jun 2, 2026, 11:05:09 AM (7 days ago) Jun 2
to MapInfo-L
Hello,

I have a custom ribbon with a control created using ribbon library from mapbasic:  MICtrlCollAddStrStrInt, etc.

I need to call that button from a form created with VB.NET. In 32-bit MapInfo, I used CREATE MENU and assigned IDs to the options, then I could call them like mapinfo.do("run Menu command id xx").

How can I call that ribbon button?

Thanks

Peter Horsbøll Møller

unread,
Jun 3, 2026, 3:12:49 AM (6 days ago) Jun 3
to mapi...@googlegroups.com

Hey

 

You could just call the procedure that the control should execute.

 

Or what are you trying to do?`

 

Peter

 

 

Peter Horsbøll Møller
Principal Sales Engineer - Distinguished Engineer

 

From: mapi...@googlegroups.com <mapi...@googlegroups.com> On Behalf Of fjavier.gar...@gmail.com
Sent: 2. juni 2026 17:05
To: MapInfo-L <mapi...@googlegroups.com>
Subject: [MI-L] MapInfo 64-bit equivalent: run menu command id

 

You don't often get email from fjavier.gar...@gmail.com. Learn why this is important

This message originated Externally. Use proper judgement and caution with attachments, links, or responses.

 

--
--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en

---
You received this message because you are subscribed to the Google Groups "MapInfo-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapinfo-l+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mapinfo-l/00af316a-cb3c-4ad7-8151-617a4246d1b1n%40googlegroups.com.

fjavier.gar...@gmail.com

unread,
Jun 3, 2026, 3:48:01 AM (6 days ago) Jun 3
to MapInfo-L

Hey

I have two types of buttons: one opens a MapBasic form, and the other is a ToolButton to click on the map and perform some calculations. 

As you mentioned, I could open the form by calling the method: `mapinfo.do("call myformhandler")`, but I don't know how to do the second one.

Javier
Reply all
Reply to author
Forward
0 new messages