ImageEn, unit iemview

TImageEnMView.MouseWheelParamsAlt

TImageEnMView.MouseWheelParamsAlt


Declaration


property MouseWheelParams: TIEMouseWheelParams;


Description


MouseWheelParams and MouseWheelParamsAlt allow you to customize the behavior of the mouse wheel. MouseWheelParams is used to specify the default mouse wheel behaviour, whereas TImageEnMView.MouseWheelParamsAlt is used when the Ctrl key is pressed.


Examples


// Explorer like behavior. Mouse wheel scrolls the control and Ctrl + Mouse wheel changes the thumbnail view
ImageEnMView1.MouseWheelParams.Action := iemwVScroll;
ImageEnMView1.MouseWheelParamsAlt.Action := iemwZoomView;


Demo


  \Other\MouseWheel\MouseWheelParams.dpr