current modifer keys?

Hate to frame this as a “FileMaker can…” question, but…

Is there any equivalent to the old ‘status ( currentmodifierkeys )’? I find that useful in FM so that for infrequent variations on a routine, I can set the variation to perform only if, say, the control key is pressed.

F’rinstance, one FM client of mine prints hundreds of forms a day, so most of the time they want the print job to go straight to the printer, no questions asked. I set it up, though, that if they hold the Shift key they’ll see a preview, and if they hold Control, they’ll see the print dialog.

Is there an equivalent (or an alternative) in Servoy that I’m just not seeing? If not, is this already on the feature request list?

Cain:
Hate to frame this as a “FileMaker can…” question, but…

Is there any equivalent to the old ‘status ( currentmodifierkeys )’? I find that useful in FM so that for infrequent variations on a routine, I can set the variation to perform only if, say, the control key is pressed.

F’rinstance, one FM client of mine prints hundreds of forms a day, so most of the time they want the print job to go straight to the printer, no questions asked. I set it up, though, that if they hold the Shift key they’ll see a preview, and if they hold Control, they’ll see the print dialog.

Is there an equivalent (or an alternative) in Servoy that I’m just not seeing? If not, is this already on the feature request list?

Cain,

Check out application.getLastKeyModifiers().

You can find out more about this Servoy function using:

  1. Servoy Help Navigator (online)
    -Choose Help>Help (F1)
    -Open the “Index” tab.
    -Enter “getLast” in the topic criteria box.
    -Select “getLastKeyModifiers” from the index list.
    -Double click Methods: Application in the Topics List below.
    -Choose Tools>Find
    -Enter “getLast” in “Find What”
    -Press the "Find Next button to highlight this function.

  2. Servoy Developer Edition Volume 2: Reference Guide (printed)
    -Go to the “Methods” chapter; section “Methods: Application”, page 162.

NOTE: Make sure for the online resource that you have the Servoy 2.1.1
Servoy Help Navigator. For more information, you can refer to this post:
http://forum.servoy.com/viewtopic.php?t=3094


Marc Norman
Servoy

Thanx!

This will not work, when property “showClick” is turned off. :? I am heading to Issues and Bugs…

Windows XP SP2
Java 1.5_01
Servoy 2.1.2