ImageGear PDF v25.2 - Updated
InputBox Constructor(String,String,String,FindProc,Int32)




ImageGear.Art.Forms Assembly > ImageGear.ART.Forms Namespace > InputBox Class > InputBox Constructor : InputBox Constructor(String,String,String,FindProc,Int32)
Window title.
Explanatory text shown at top of window.
Initial text to populate edit box with.
Method to call when Find button is clicked.
An integer passed to FindProc, used to provide context for a search operation.
Initializes a new instance of the InputBox class to act as a search interface.
Syntax
'Declaration
 
Public Function New( _
   ByVal title As String, _
   ByVal caption As String, _
   ByVal findText As String, _
   ByVal findCallback As InputBox.FindProc, _
   ByVal startPosition As Integer _
)
'Usage
 
Dim title As String
Dim caption As String
Dim findText As String
Dim findCallback As InputBox.FindProc
Dim startPosition As Integer
 
Dim instance As New InputBox(title, caption, findText, findCallback, startPosition)
public InputBox( 
   string title,
   string caption,
   string findText,
   InputBox.FindProc findCallback,
   int startPosition
)
public: InputBox( 
   string* title,
   string* caption,
   string* findText,
   InputBox.FindProc* findCallback,
   int startPosition
)
public:
InputBox( 
   String^ title,
   String^ caption,
   String^ findText,
   InputBox.FindProc^ findCallback,
   int startPosition
)

Parameters

title
Window title.
caption
Explanatory text shown at top of window.
findText
Initial text to populate edit box with.
findCallback
Method to call when Find button is clicked.
startPosition
An integer passed to FindProc, used to provide context for a search operation.

Return Value

The new instance of InputBox class.
Remarks
When this constructor is used, a Find button is shown instead of an OK button. When the Find button is clicked, the given FindProc method is called and the window is not closed.
See Also

Reference

InputBox Class
InputBox Members
Overload List

Is this page helpful?
Yes No
Thanks for your feedback.