Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox Value property disappears
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00717555
Message ID:
00717631
Views:
13
Hi Mike,

I don't see this. The message 'This.Value is Missing! ' never shows up. The behavior is the same in VFP6, 7 and 8.

>This appears to be a bug in 7 and (slightly different) 8.
>
>Create a new form and drop a textbox on it. Set the value property to ={} and put this code in the InteractiveChange() event:
>
>if type('this.value')='U'
> wait window nowait noclear 'This.Value is Missing! '+time()
>else
> wait window nowait noclear transform(this.Value)+' '+time()
>endif
>
>Type in today's date with a 4 digit year and watch as you type each character. When you type in the 3rd character of the year, you'll notice that "This.Value" does not exist.
>
>Works in 6, doesn't work in 7. In 8, it works if the .Value property has a date in it initially, but not if it's empty.
>
>Mike
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform