:: Forum >>

this.setControlText(upper) resets cursor in 2.5.3

Hi, I have an activeWidgets textbox embedded in a grid. I want it so that the text is forced to uppercase as it is typed regardless of if the user has capslock on.
In version 2.0.1 the below code worked nicely

textBox.onControlTextChanged = function(text)
var upper = text.toUpperCase();

if (text != upper)

However when I upgrade to version 2.5.3 it resets the cursor when the function is called causing the word to be typed backwards. Typing "backwards" into the box results in "sdrawkcab" being displayed.
Any idea of a workaround?

Wednesday, December 10, 2008

This topic is archived.

Back to support forum

Forum search