DelphiDelphiVCLPythonPython GUIWindows

This Is How TShiftState Works For Windows App Development

This Is How TShiftState Works For Windows App Development

TShiftState in DelphiVCL indicates the state of the modifier keys – shift/ctrl/alt, the mouse buttons, or touch devices when you are performing Windows app development.

The TShiftState type is used by key-event and mouse-event handlers to determine the state of the modifier keys, the state of the mouse buttons, or the state of an attached touch device when the event occurs. It is a set of flags that indicates the following states:

ValueDescription
ssShiftThe SHIFT key is held down.
ssAltThe ALT key is held down.
ssCtrlThe CTRL key is held down.
ssLeftThe left mouse button is held down.
ssRightThe right mouse button is held down.
ssMiddleThe wheel mouse button is held down.
ssDoubleThe mouse button was double-clicked.
ssTouchThe user is holding a finger on the touch surface.
ssPenThe pen is touching the surface of a tablet.
ssCommandThe CMD key is held down (only on Mac).
ssHorizontalThe user is moving a finger horizontally on the touch surface or is rolling the mouse wheel to produce a horizontal displacement.

 

Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.

Related posts
CodeIDELearn PythonPythonPython GUITkinter

How To Make More Than 20 ChatGPT Prompts Work With Python GUI Builders And OpenCV Library?

CodeIDEProjectsPythonWindows

Unlock the Power of Python for Deep Learning with Radial Basis Function Networks (RBFNs)

CodeIDELearn PythonPythonPython GUITkinter

How To Make More Than 20 ChatGPT Prompts Work With Python GUI Builders And NumPy Library?

CodeIDEProjectsPythonWindows

Unlock the Power of Python for Deep Learning with Generative Adversarial Networks (GANs) - The Engine behind DALL-E

Leave a Reply

Your email address will not be published. Required fields are marked *