EditChanged

Description

Occurs for each keystroke the user types in an edit control in the DataWindow.

PowerBuilder event information

Event ID: pbm_dwnchanging

Argument

Description

row

Long by value. The number of the row containing the item whose value is being changed.

dwo

DWObject by value. A reference to the column containing the item whose value is being changed. Dwo is a reference to the column control, not the name of the column.

data

String by value. The current contents of the DataWindow edit control.


Return codes

There are no special outcomes for this event. The only code is:

0 -- Continue processing

Examples

This example displays the row and column that the user is editing in a StaticText control:

st_1.Text = "Row " + String(row) &
      + " in column " + dwo.Name

See also

ItemChanged