Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

RowFocusChanging – PB Docs 115 – PowerBuilder Library

RowFocusChanging – PB Docs 115

RowFocusChanging


Description

Occurs when the current row is about to change in the DataWindow.
(The current row of the DataWindow is not necessarily the same as
the current row in the database.)

The RowFocusChanging event occurs just before the RowFocusChanged event.

Argument Description
sender String. Identifier for the client-side
control.
currentRow Number. The number of the row that is
current (before the row is deleted or its number changes). If the
DataWindow object is empty, currentrow is 0 to
indicate there is no current row.
newRow Number. The number of the row that is
about to become current. If the new row is going to be an inserted
row, newrow is 0 to indicate that it does not
yet exist.

Controls

Web DataWindow client control

Return Values

Set the return code to affect the outcome of the event:

  • 0 Continue processing
    (setting the current row)
  • 1 Prevent the current row from changing

Usage

Typically the RowFocusChanging event is coded to respond to
a mouse-click or keyboard action that would change the current row
in the DataWindow object.

note.gif Postback calls to the server-side RowFocusChanging
event
The corresponding server-side event can be triggered by the
following default event handlers: PBDataWindow_RowFocusChanged, PBDataWindow_ClickedDifferentRow,
and PBDataWindow_DelayedClickedDifferentRow.

See Also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x