PressToolbarButton

This is a back-up of the WIKI.
Not all links might work
We're working on a new wiki.

Main Page | Recent changes | View source | Page history | Log in / create account |

Printable version | Disclaimers | Privacy policy

The function "PressToolbarButton" (g_MapWin.Toolbar.PressToolbarButton) may be used to access the standard MapWindow toolbar buttons. The list of names which may be passed into this function are as follows:


Any toolbar added by a plug-in, plus...


tbbAddRemove (Add/Remove Layer button - the top drop-down button, therefore the last selected add/remove/clear button)

tbbZoomIn (Turns on Zoom In mode -- doesn't actually cause an immediate zoom in)

tbbZoomOut (Turns on Zoom Out mode -- doesn't actually cause an immediate zoom out)

tbbZoomPan (Turns on Pan mode -- doesn't actually cause an immediate pan)

tbbSelect (Turns on select mode -- doesn't actually cause an immediate selection)

tbbMeasure (Turns on Distance Measure mode)

tbbMeasureArea (Turns on Area Measure mode)

tbbPrint (Displays the Print dialog)

tbbSave (Saves the current project; prompting to "Save As" if not yet saved before)

tbbNew (Create a new project, prompting to save if current project has changed)

tbbOpen (Open a project, prompting to save if current project has changed)

Retrieved from "http://mapwindow.org/wiki/index.php/PressToolbarButton"

This page has been accessed 1,198 times. This page was last modified on 10 December 2006, at 04:42.