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. |
Web ActiveX event information Event name: onEditChange
Argument |
Description |
---|---|
Row |
Number. The number of the row containing the item whose value is being changed. |
Name |
String. The name of the column containing the item whose value is being changed. |
Data |
String. The current contents of the DataWindow edit control. |
There are no special outcomes for this event. The only code is:
0 Continue processing
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