RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Controls.TMouseButton Enumeration

TMouseButton identifies a mouse button in a mouse-event handler.

Pascal
TMouseButton = (
  mbLeft,
  mbRight,
  mbMiddle
);
C++
enum TMouseButton {
  mbLeft,
  mbRight,
  mbMiddle
};

The TMouseButton type defines the mouse-button constants used by mouse-event handlers to distinguish which button generated the mouse event. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!