The AJAX viewer has no formal mechanism for enabling/disabling buttons
programmatically.

However you can look at OnSelectionChanged() in mainframe.templ to see how
commands are enabled/disabled based on whether features are selected or not.

- Jackie



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/disable-toolbutton-tp5014169p5014181.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to