Maptitude GISDK Help |
Determines whether the Shift key was pressed during a prior "Click" function.
rslt = GetClickShift()
A string containing "True" or "False".
GetClickShift() can be used to distinguish a mouse click from a Shift-click. It is used by the standard interface with the selection tools.
// Here is the definition of a selection tool
Tool "select by radius" 0, 0 icons: "select.bmp" do
// Get the circle from the user
c = ClickCircle("")
// Check the Shift key...
shift_key = GetClickShift()
// Select as needed...
if shift_key = "True" then
SelectByCircle("Selection", "More", c)
else
SelectByCircle("Selection", "Several", c)
endItem
Function |
Summary |
Determines whether the Ctrl key was pressed during a prior "Click" function |
©2025 Caliper Corporation | www.caliper.com |