Brad,
Define a global logical variable, and change the value of this in your
button handler. If the value of it = 0 before the button is pushed, set
it to = 1, and vice versa.
Keith
-----Original Message-----
From: Brad Sharkey [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 04, 2000 2:52 AM
To: '[EMAIL PROTECTED]'
Subject: MI ToggleButton and MapBasic code
Hi all,
Just attempting to add a new togglebutton to MapInfo, and are unsure how
to
detect whether the button is pressed or unpressed by the user (in order
to
setup two different functions in MapBasic).
Any clues on the MapBasic command or function which can setup
togglebuttons
would be most appreciated.
thanks,
Brad
------------------------------------------------
Brad Sharkey
MakoMap
PO Box 1458
Ballarat, VIC. 3354
Ph/Fax: 0500 805533
Mob: 0438 805533
Email: [EMAIL PROTECTED]
Web: http://www.makomap.com.au
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]