Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EditBox mystery
Message
From
10/06/2014 12:47:02
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01601421
Message ID:
01601585
Views:
67
I think .text is updated after .valid() returns .T.

>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)
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/
Never explain, never complain (Queen Elizabeth II)
Previous
Reply
Map
View

Click here to load this message in the networking platform