Forum  General Visual ...  Breaking Change...  CharacterCasing property of TextBox
Previous Previous
 
Next Next
New Post 3/26/2009 4:05 PM
Resolved
  dleland
517 posts
www.kadant.com
1st Level Poster


CharacterCasing property of TextBox 
The CharacterCasing property of the TextBox does not work when a value of Upper is used. It looks right on the screen but when you try to retrieve the value using TextBox.Text, the value comes in as lowercase, not uppercase. This is a major problem that should be corrected as soon as possible.

Dave
 
New Post 3/26/2009 5:24 PM
  jayhobbs
1644 posts
1st Level Poster




Re: CharacterCasing property of TextBox 

Hi Dave,

I havent had any problems with this with 6.3.5

I just tried

Private Sub TextBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.Click
        TextBox2.Text = TextBox1.Text
        TextBox3.Text = TextBox1.Text.ToUpper
    End Sub

That works fine

Jay

 
New Post 3/26/2009 5:37 PM
  dleland
517 posts
www.kadant.com
1st Level Poster


Re: CharacterCasing property of TextBox 
Sorry, I forgot to mention that I was using 6.3.4. I'll try 6.3.5.

Dave
 
New Post 3/27/2009 7:09 AM
  dleland
517 posts
www.kadant.com
1st Level Poster


Re: CharacterCasing property of TextBox 
Jay:

Are you sure this worked for you? I'm wondering if you misunderstood my question. I see that you used "TextBox3.Text = TextBox1.Text.ToUpper". My question was regarding the value of "Upper" for the CharacterCasing property of the TextBox control. I just installed 6.3.5 and it is still not working for me.

For example, I created TextBox1 with "CharacterCasing = Gizmox.WebGUI.Forms.CharacterCasing.Upper", and added it to my main form. I also have a button on my main form. When I click the button, I have a "MessageBox.Show(TextBox1.Text)". When I run my application and enter text in TextBox1 and click my button, the text that is shown is in lowercase but it should be in uppercase.

Dave
 
New Post 3/27/2009 8:37 AM
  jayhobbs
1644 posts
1st Level Poster




Re: CharacterCasing property of TextBox 

Hi Dave,

Sorry I misunderstood.

I tried again with TextBox1 = Casing Normal,   TextBox2 = Casing Upper , TextBox3 = Casing Lower

  Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        TextBox2.Text = TextBox1.Text
        TextBox3.Text = TextBox1.Text
    End Sub

Typing "asdFGH" in TextBox shows1  Upper and Lower respectively in Textbox2 and 3

Jay

 
Previous Previous
 
Next Next
  Forum  General Visual ...  Breaking Change...  CharacterCasing property of TextBox
CompanionKit Bottom
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS