Control converts first letter of every word into caps.

Apr 9, 2012 at 6:16 PM

I used this control and it works great except for the fact that it capitalized every first letter of every word when you set the textcase to normal.

 

How do i resolve this?

Nov 14, 2012 at 2:22 PM

Set the text type property on the textbox to 'String'. You likely have it set to 'Name'.

Feb 21, 2013 at 9:39 PM
I'm having the same problem and I just checked that all the text type properties are String. The Text Case is Normal.
Mar 15, 2013 at 10:32 AM
I had this too, it's a bug in the old version, ExtTextBox.NameFormat() was being called regardless of the TextType being set.

The fix is to modify CheckForTextChanged():
// Before
private void CheckForTextChanged(object sender, TextChangedEventArgs e)
{
    if (wfpExtTextBox1.Text != _originalText)
        wfpExtTextBox1.BackColor = ConvertColor(_ChangedColour);
    else
        wfpExtTextBox1.BackColor = ConvertColor(System.Drawing.SystemColors.Window);

    NameFormat();
}

// After
private void CheckForTextChanged(object sender, TextChangedEventArgs e)
{
    if (wfpExtTextBox1.Text != _originalText)
        wfpExtTextBox1.BackColor = ConvertColor(_ChangedColour);
    else
        wfpExtTextBox1.BackColor = ConvertColor(System.Drawing.SystemColors.Window);

    if (TextType == TextTypes.Name)
        NameFormat();
}
Or you can just get check out the latest source, it looks like it's fixed there.
Mar 16, 2013 at 8:33 PM
Thanks, I downloaded the latest source and rebuilt it and it is fixed. Although my source code does not match what you are showing.

Apparently the bin download is out of date

Thanks again,
Mike