General information
Category:
Coding, syntax & commands
Environment versions
Network:
Windows 2008 Server
>I have two Editbox controls (on different forms) ; both have 'AddLineFeeds' set to true.
>
>In the interactive change event I'm checking the 'Text' value by outputting the ASCII values.
>
>In the first one if I type in 'Test' followed by 'Enter' the output is ; 84 101 111 116 13
>If I then type. say. an 'i' the output is : 84 101 111 116 13 10 105 (i.e the '10' has been inserted)
>
>In the second one the first output is the same (84 101 111 116 13)
>But, after the 'i' I get : 84 101 111 116 13 105 (i.e. no '10' has been inserted)
>
>What could cause the difference in behaviour ?
>(I want the first one)
Just discovered that in an earlier version of the first EditBox I had code in the InteractiveChange to spin thru and add missing CHR(10)'s - so the problem existed there at some point. But this doesn't change the fact that it works OK now without it !
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only