# getLastKeyModifiers

**URL:** <https://forum.servoy.com/t/getlastkeymodifiers/7430>\
**Category:** Classic Servoy\
**Created:** [May 2, 2007, 8:45am UTC](https://forum.servoy.com/t/getlastkeymodifiers/7430 "2007-05-02T08:45:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ledergerber](https://avatars.discourse-cdn.com/v4/letter/l/87869e/32.png) [@ledergerber](https://forum.servoy.com/u/ledergerber)\
**Post date:** [May 2, 2007, 8:45am UTC](https://forum.servoy.com/t/getlastkeymodifiers/7430/1 "2007-05-02T08:45:31Z")

</div>

Hello,

the function getLastKeyModifiers will not be triggered on onDataChange Methods.

Regards  
Thomas

---

<div class="post-metadata">

**Author:** ![rgansevles](https://avatars.discourse-cdn.com/v4/letter/r/3d9bf3/32.png) [@rgansevles](https://forum.servoy.com/u/rgansevles)\
**Post date:** [May 8, 2007, 8:05am UTC](https://forum.servoy.com/t/getlastkeymodifiers/7430/2 "2007-05-08T08:05:01Z")

</div>

Thomas,

getLastKeyModifiers is only applicable on user actions to check if the user held the shift button while clicking.  
onDataChange is a system action when the value of a field changed, so user info is not applicable.

Rob
