ImageGear .NET - Updated
InputBox.FindProc Delegate




ImageGear24.Art.Forms Assembly > ImageGear.ART.Forms Namespace : InputBox.FindProc Delegate
Specifies instance of InputBox class where Find button is clicked.
The context of search operation.
A delegate method called when Find button is clicked.
Syntax
'Declaration
 
Public Delegate Function InputBox.FindProc( _
   ByVal dialog As InputBox, _
   ByVal startPosition As Integer _
) As Integer
'Usage
 
Dim instance As New InputBox.FindProc(AddressOf HandlerMethod)
public delegate int InputBox.FindProc( 
   InputBox dialog,
   int startPosition
)
public: __gc __delegate int InputBox.FindProc( 
   InputBox* dialog,
   int startPosition
)
public delegate int InputBox.FindProc( 
   InputBox^ dialog,
   int startPosition
)

Parameters

dialog
Specifies instance of InputBox class where Find button is clicked.
startPosition
The context of search operation.

Return Value

The value to pass for the StartPos parameter for the next call to FindProc.
Remarks
This delegate is used for the method called when the Find button is clicked, when the InputBox is being used for search purposes. This method is passed an integer initially provided in the constructor, and then from subsequent calls to FindProc. This integer is used to provide context for the search operation - for example, the index of a current position in a string.
See Also

Reference

InputBox.FindProc Members
ImageGear.ART.Forms Namespace