ImageGear PDF v24.14 - Updated
InputBox Class
Members 




ImageGear24.Art.Forms Assembly > ImageGear.ART.Forms Namespace : InputBox Class
Represents a window for prompting the user for an input string.
Object Model
InputBox Class
Syntax
'Declaration
 
<DesignerAttribute("System.Windows.Forms.Design.FormDocumentDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", System.ComponentModel.Design.IRootDesigner)>
<ToolboxItemFilterAttribute("System.Windows.Forms.Control.TopLevel")>
<DesignerCategoryAttribute("Form")>
<DefaultEventAttribute("Load")>
<ToolboxItemAttribute(False)>
<DesignTimeVisibleAttribute(False)>
<InitializationEventAttribute("Load")>
<DefaultPropertyAttribute("Text")>
<DesignerSerializerAttribute("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>
Public Class InputBox 
   Inherits System.Windows.Forms.Form
'Usage
 
Dim instance As InputBox
[Designer("System.Windows.Forms.Design.FormDocumentDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", System.ComponentModel.Design.IRootDesigner)]
[ToolboxItemFilter("System.Windows.Forms.Control.TopLevel")]
[DesignerCategory("Form")]
[DefaultEvent("Load")]
[ToolboxItem(false)]
[DesignTimeVisible(false)]
[InitializationEvent("Load")]
[DefaultProperty("Text")]
[DesignerSerializer("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public class InputBox : System.Windows.Forms.Form 
[Designer("System.Windows.Forms.Design.FormDocumentDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", System.ComponentModel.Design.IRootDesigner)]
[ToolboxItemFilter("System.Windows.Forms.Control.TopLevel")]
[DesignerCategory("Form")]
[DefaultEvent("Load")]
[ToolboxItem(false)]
[DesignTimeVisible(false)]
[InitializationEvent("Load")]
[DefaultProperty("Text")]
[DesignerSerializer("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public __gc class InputBox : public System.Windows.Forms.Form 
[Designer("System.Windows.Forms.Design.FormDocumentDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", System.ComponentModel.Design.IRootDesigner)]
[ToolboxItemFilter("System.Windows.Forms.Control.TopLevel")]
[DesignerCategory("Form")]
[DefaultEvent("Load")]
[ToolboxItem(false)]
[DesignTimeVisible(false)]
[InitializationEvent("Load")]
[DefaultProperty("Text")]
[DesignerSerializer("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public ref class InputBox : public System.Windows.Forms.Form 
Remarks
It can be used to gather simple text or numeric input from the user without the need for creating a custom window.

It can also provide a search interface if the appropriate constructor used. In this case, 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.

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         System.Windows.Forms.Control
            System.Windows.Forms.ScrollableControl
               System.Windows.Forms.ContainerControl
                  System.Windows.Forms.Form
                     ImageGear.ART.Forms.InputBox

See Also

Reference

InputBox Members
ImageGear.ART.Forms Namespace