Moved
PowerScript event
Description
Occurs when the user moves the scroll box, either by clicking on the
arrows or by dragging the box itself.
Event ID
|
Event ID |
Objects |
|---|---|
|
pbm_sbnthumbtrack |
HScrollBar, HTrackBar, VScrollBar, |
Arguments
|
Argument |
Description |
|---|---|
|
scrollpos |
Integer by value (a number indicating position of the |
Return Values
Long.
Return code choices (specify in a RETURN statement):
0 — Continue processing
Usage
The Moved event updates the Position property of the scroll bar with
the value of scrollpos.
Examples
This statement in the Moved event displays the new position of the
scroll box in a StaticText control:
|
1 |
st_1.Text = "Moved " + String(scrollpos) |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest