ScrollVertical
event (DataWindows)
Description
Occurs when user scrolls up or down in the DataWindow with the Tab
or arrow keys or the scroll bar.
PowerBuilder event
information
Event ID: pbm_dwnvscroll
|
Argument |
Description |
|---|---|
|
scrollpos |
Long by value. The distance in PowerBuilder units of |
Return Values
There are no special outcomes for this event. The only code
is:
0 — Continue processing
Examples
As the user scrolls vertically, this script displays the range of
rows currently being displayed in the DataWindow:
|
1 2 3 4 5 6 7 8 9 10 11 12 |
long ll_numrows string ls_firstrow, ls_lastrow ll_numrows = dw_1.RowCount() ls_firstrow = dw_1.Object.Datawindow.FirstRowOnPage ls_lastrow = dw_1.Object.Datawindow.LastRowOnPage sle_message.Text = "Rows " + ls_firstrow & + " through " + ls_lastrow + " of " & + String(ll_numrows) RETURN 0 |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest