Shift returns TRUE if the Shift key was depressed during the last user event. This function operates with the MouseDown, KeyDown, AutoKey, GetPt, GetPtL, GetLine, and GetRect calls.
FUNCTION Shift : BOOLEAN;def vs.Shift():
return BOOLEANresultOK := Shift;import vs
# Shift returns TRUE if the Shift key was depressed during the last user event.
ok = vs.Shift()
if ok:
vs.Message('Shift succeeded')
else:
vs.Message('Shift failed')Availability: from All Versions