C
colin
Hi,
Is there a simple numerical data entry control ?
I had a look at the
http://www.codeproject.com/cs/miscctrl/HDNumericTextBox.asp
wich seemed to be what I wanted but it doesnt seem to work,
when I try and put it on the form using the designer it gives the error :-
---------------------------
Microsoft Visual C# 2005 Express Edition
---------------------------
Failed to create component 'NumericTextBox'. The error message follows:
'System.FormatException: Input string was not in a correct format.
at System.ComponentModel.ReflectPropertyDescriptor.SetValue(Object
component, Object value)
at
System.Windows.Forms.Design.ControlDesigner.InitializeNewComponent(IDictionary
defaultValues)
at
System.Windows.Forms.Design.TextBoxBaseDesigner.InitializeNewComponent(IDictionary
defaultValues)
at System.Drawing.Design.ToolboxItem.CreateComponentsCore(IDesignerHost
host, IDictionary defaultValues)
at System.Drawing.Design.ToolboxItem.CreateComponents(IDesignerHost host,
IDictionary defaultValues)
at System.Windows.Forms.Design.OleDragDropHandler.CreateTool(ToolboxItem
tool, Control parent, Int32 x, Int32 y, Int32 width, Int32 height, Boolean
hasLocation, Boolean hasSize, ToolboxSnapDragDropEventArgs e)'
Is there a simple numerical data entry control ?
I had a look at the
http://www.codeproject.com/cs/miscctrl/HDNumericTextBox.asp
wich seemed to be what I wanted but it doesnt seem to work,
when I try and put it on the form using the designer it gives the error :-
---------------------------
Microsoft Visual C# 2005 Express Edition
---------------------------
Failed to create component 'NumericTextBox'. The error message follows:
'System.FormatException: Input string was not in a correct format.
at System.ComponentModel.ReflectPropertyDescriptor.SetValue(Object
component, Object value)
at
System.Windows.Forms.Design.ControlDesigner.InitializeNewComponent(IDictionary
defaultValues)
at
System.Windows.Forms.Design.TextBoxBaseDesigner.InitializeNewComponent(IDictionary
defaultValues)
at System.Drawing.Design.ToolboxItem.CreateComponentsCore(IDesignerHost
host, IDictionary defaultValues)
at System.Drawing.Design.ToolboxItem.CreateComponents(IDesignerHost host,
IDictionary defaultValues)
at System.Windows.Forms.Design.OleDragDropHandler.CreateTool(ToolboxItem
tool, Control parent, Int32 x, Int32 y, Int32 width, Int32 height, Boolean
hasLocation, Boolean hasSize, ToolboxSnapDragDropEventArgs e)'