Concept Framework 2.0 documentation | Contents | Index |
Name | Type | Access | Version | Deprecated |
OnScroll | event | public | version 1.0 | no |
OnScroll(Sender, EventData) |
Sender | the event firing control |
EventData | contains a string, encapsulating the X and Y relative coordinates separated by ":", the direction of the scroll and the state of the modifier keys(Alt, Shift, Ctrl, etc) |
Generated from button presses for the buttons 4 to 7. Wheel mice are usually configured to generate button press events for buttons 4 and 5 when the wheel is turned.
Event triggered when a scrollable control is scrolled (please check GTK documentation for more information). Evaluating EventData like this : EventData=StrNumberSplit(EventData,":"); X=EventData[0]; Y=EventData[1]; direction=EventData[2]; state=EventData[3] will give you the x, y, direction of scroll and the state of the modifier keys. direction has one of this values: GDK_SCROLL_UP, GDK_SCROLL_DOWN, GDK_SCROLL_LEFT and GDK_SCROLL_RIGHT |
Documented by Eduard Suica, generation time: Fri Jan 21 18:06:08 2011 GMT | (c)2011 RadGs Software |