Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Who called me
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01131818
Message ID:
01131851
Views:
12
>Hi Naomi,
>
>I would suggest saving the currentValue in the When or GotFocus method.. That way if the control is visited more than once, you'd have the previous value saved.
>Sorin
>
Thanks, Sorin. That's exactly what I've tried, but I found, that if I save the value in the GotFocus, my listboxes don't behave as they should. So, I'm doing the opposite. I reset value to nothing in GotFocus, but since it's saved in other methods, my code is not executed more times than needed.

Thanks for your suggestion.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform