02-20-2015 11:16 AM
I use this command to update a textbox with a timer:
SetCtrlVal (MyPanel, MyPanel_MyTextBox, SomeText);
It keeps adding 'SomeText' into MyTextBox instead of setting it with that value. It only works as I want when I use:
ResetTextBox (MyPanel, MyPanel_MyTextBox, SomeText);
Is this supposed to be the way SetCtrlVal() work, because that is how I understand it?
Solved! Go to Solution.
02-20-2015 11:25 AM
Yes, this is the way it is expected to work... as you can see from the help on "Programming with Text Box Controls", SetCtrlVal appends text
02-20-2015 11:26 AM
Thanks, I think it is a misnomer. Should be called AppendCtrlVal().