How to make a ribbon tab active (opened)?

33 views
Skip to first unread message

Evgeny Kleiman

unread,
Jan 24, 2025, 8:40:04 AMJan 24
to MapInfo-L
I added a new tab with RbnTabCollAddStrStr. Now I want that this tab will be opened (active), How can I do this in MapBasic?

Peter Horsbøll Møller

unread,
Jan 27, 2025, 2:55:52 AMJan 27
to mapi...@googlegroups.com

You can use this command:

 

Call SetRbnTabIsSelected(rbnTab, TRUE)

 

Where rbnTab is the tab as a This variable.

 

If you are using the RIBBONLib, you can also use this procedure and just pass in the name of the ribbon tab:

 

RBNSelectTab(“tabApplication”)

 

Cheers

Peter

 

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

 

From: mapi...@googlegroups.com <mapi...@googlegroups.com> On Behalf Of Evgeny Kleiman
Sent: 24. januar 2025 14:40
To: MapInfo-L <mapi...@googlegroups.com>
Subject: [MI-L] How to make a ribbon tab active (opened)?

 

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

 

I added a new tab with RbnTabCollAddStrStr. Now I want that this tab will be opened (active), How can I do this in MapBasic?

--
--
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/2a2aae7d-b8eb-476f-95c5-d977327870fan%40googlegroups.com.

Evgeny Kleiman

unread,
Jan 27, 2025, 3:47:58 AMJan 27
to MapInfo-L
Thank you very much, Peter.
Reply all
Reply to author
Forward
0 new messages