开发者

Determining If Left- or Right- Click

In FileMaker Pro, it is easy to override a field's button setup so that a script is run when the field is clicked on. Is there a way from within such a 开发者_运维百科script to determine if the user left-clicked or right-clicked?

Thanks,

Ben


Oddly, I am pretty sure you can't get the mouse button clicked. If you could, it would probably be a Get() function.

I tested:

Get(ActiveModifierKeys)

and

Get(TriggerModifierKeys)

but neither return a value for mouse clicks, only keyboard clicks.

If you are a C++ programmer, you could write a plugin that creates a new FileMaker function that returns the mouse button clicked, but you would need to install the plugin on every machine that will use the function.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜