Hi Sergi
Have you tried using MenuItemInfoByHandler to check the state?
MenuItemInfoByHandler( handler, attribute )
It can return various settings about menuitems - and hopefully buttons too.
It also comes in a form that takes and ID instead of the Handler (procedure)
Peter
From: mapi...@googlegroups.com <mapi...@googlegroups.com>
On Behalf Of Sergi Gàmiz Ribelles
Sent: 2. juni 2024 09:41
To: MapInfo-L <mapi...@googlegroups.com>
Subject: [MI-L] How to know if a toggleButton is checked? Using MapBasic
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 on the web visit
https://groups.google.com/d/msgid/mapinfo-l/3db5907a-6fbd-47f2-999e-f1dfdb6fdae5n%40googlegroups.com.