Skip to content

Crow.ScrollingObject

Jean-Philippe Bruyère edited this page Oct 26, 2021 · 3 revisions

generic class to build scrolling control in both directions

namespace: Crow

Inheritance Hierarchy

  • ScrollingObject

Syntax

public class ScrollingObject : Widget

Constructors

prototype description
ScrollingObject (Interface iface, string style=null) __

Properties

name description
MaxScrollX Horizontal Scrolling maximum value
MaxScrollY Vertical Scrolling maximum value
MouseWheelSpeed Mouse Wheel Scrolling multiplier
ScrollX Horizontal Scrolling Position
ScrollY Vertical Scrolling Position

Methods

prototype description
void onKeyDown(object sender, KeyEventArgs e) Process scrolling with arrow keys, home and end keys.
void onMouseWheel(object sender, MouseWheelEventArgs e) Process scrolling vertically, or if shift is down, vertically

Events

name description
Clone this wiki locally