Clears ink from an InkPicture control in a DataWindow.
DataWindow type |
Method applies to |
---|---|
PowerBuilder |
DataWindow control |
integer dwcontrol.ResetInk ( string name, long rownumber )
Argument |
Description |
---|---|
dwcontrol |
A reference to a DataWindow control. |
name |
The name of the InkPicture control from which you want to clear the picture. |
rownumber |
The number of the row that contains the picture to be cleared. To clear all rows, set rownumber to 0. |
Integer. Returns 1 for success and –1 for failure.
Use the ResetInk function to clear the ink from an InkPicture control.
The following example clears the ink in an InkPicture control in row 3 of a DataWindow object:
int li_return li_return = dw_1.ResetInk(inkpic_1, 3)