ResetInk method (DataWindows)
Description
Clears ink from an InkPicture control in a DataWindow.
Controls
DataWindow type |
Method applies to |
---|---|
PowerBuilder |
DataWindow control |
Syntax
[PowerBuilder]
1 |
integer <span>dwcontrol</span>.<span>ResetInk</span> ( string <span>name</span>, long <span>rownumber</span> ) |
Argument |
Description |
---|---|
dwcontrol |
A reference to a DataWindow control. |
name |
The name of the InkPicture control from |
rownumber |
The number of the row that contains the |
Return Values
Integer. Returns 1 for success and –1
for failure.
Usage
Use the ResetInk function to clear the
ink from an InkPicture control.
Examples
The following example clears the ink in an InkPicture
control in row 3 of a DataWindow object:
1 |
int li_return<br>li_return = dw_1.ResetInk(inkpic_1, 3) |
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments