I've received the following from a FEMA colleague. He asked that I forward
it to the "L" for assistance. Here's his message and his code follows:
Can you help me code a button to "always stay activated" like the other tool
buttons in the tool menu? Here is my code. Currently it is visible for the
duration of the program then is unloaded. thankx
Joseph C. Toland
GIS Coordinator
DR-1361-WA
FEMA Region X - GIS
425.482.3717
[EMAIL PROTECTED]
Thanks,
Tim Rood
FEMA
sub main()
' open program through a button.
include "mapbasic.def"
include "menu.def"
include "icons.def"
Alter ButtonPad "Tools"
Add
Separator
togglebutton
Icon MI_ICON_ODBC_MAPPABLE
HelpMsg "Zoom to 15'X30' quads!"
Calling coords
enable
uncheck
Show
end sub
_______________________________________________________________________
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.