PFormHandler::scroll()
event.
Synopsis
#include <PLEvt.h>
PScrollEvt(const PFormEvt& e);
Constructs a scroll event from a form event.
Word id() const;
Returns the resource id of the issuing scrollbar.
PScrollEvt::ScrollType type() const;
Either PScrollEvt::scroll or PScrollEvt::drag
for those who are interested.
Short oldValue() const;
Short value() const;
The scrollbar value before and after the scrollbar was moved.
Long time() const;
The time elapsed between the moves (in system ticks).
enum ScrollType { scroll = sclExitEvent, drag = sclRepeatEvent };