Forum  General Visual ...  Breaking Change...  CharacterCasing property of TextBox
Previous Previous
 
Next Next
New Post 3/27/2009 8:44 AM
  jayhobbs
1644 posts
1st Level Poster




Re: CharacterCasing property of TextBox 

Sorry I forgot to mention I tried setting to Textbox1 Chatacter casing with both Upper and Lower as well.

The input text was converted as expected to Upper or Lower.

Jay

 

 
New Post 3/27/2009 8:47 AM
  dleland
517 posts
www.kadant.com
1st Level Poster


Re: CharacterCasing property of TextBox 
Jay:

I think you're still not completely understanding the issue. Sure, the text shows correctly in the text boxes but when you attempt to use it in your program, is the text from TextBox2 in uppercase or is it still "asdFGH"? It should be "ASDFGH".

Try this, after your line of setting "TextBox2.Text = TextBox1.Text", add "MessageBox.Show(TextBox2.Text)". In previous versions, you would see "ASDFGH". In this version, it shows "asdFGH".

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




Re: CharacterCasing property of TextBox 

Hi Dave,

OK now I understand the problem. The messagebox shows "asdFGH". A little buglet!

Its easy to work around for the time being by checking the character Casing setting then converting to Upper or Lower if required

Sorry I am bit dense tonight, it is past my bedtime.

Jay

 

 
New Post 3/27/2009 9:12 AM
  dleland
517 posts
www.kadant.com
1st Level Poster


Re: CharacterCasing property of TextBox 
I realize it's easy to work around. Problem is, I've used CharacterCasing extensively in my application and have come to rely on it. Now, I have to go into my code everywhere I use the value on textboxes and tack on ".Upper" or ".Lower" (as appropriate). Might seem like a "buglet" to you but to me, it essentially nullifies the use the CharacterCasing property - a property I've come to rely upon.

Dave
 
New Post 3/28/2009 9:38 AM
  palli
11189 posts
1st Level Poster




Re: CharacterCasing property of TextBox 

Hi Dave,

I agree this is not what it should be, but can you tell me in which VWG version you had it working differently ?

Seems to me that 6.2.4 works the same.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
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