-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
ScrollingObject
public class ScrollingObject : Widget
⬜ | prototype | description |
---|---|---|
ScrollingObject (Interface iface, string style=null) |
__ |
⬜ | 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 |
⬜ | 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 |
⬜ | name | description |
---|