Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Detecting Shift or Control?
Thu, Nov 28 2013 8:36 AMPermanent Link

Matthew Jones

Is it possible to detect if Shift or Control keys are held down when a TButton is
clicked in a page?

Thinking about it, it's probably not a good idea since the shift on a tablet is
harder to hold down, but I'd like to know anyway. 8-)

/Matthew Jones/
Mon, Dec 2 2013 3:19 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< Is it possible to detect if Shift or Control keys are held down when a
TButton is clicked in a page? >>

Sure, just check the OnMouseDown event, and look at the parameters:

http://www.elevatesoft.com/manual?action=viewtype&id=ewb1&type=TMouseDownEvent

Tim Young
Elevate Software
www.elevatesoft.com


Image