Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Interactive Change Event on List Box
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00975713
Message ID:
00976316
Views:
10
Cool idea, Ter'. At last there's a use for the .tag prop. I would have said to keep the "last item" in a form prop but this would work fine.

>>In a List Box, how to known the item before the interactiveChange Event triggered?
>
>When the listbox gets focus, place it's value in the ListBoxe's TAG property:
>
>procedure MyForm.MyListBox.Gotfocus
>this.tag=transform(this.value)

>
>That way, after the interactive change, you can compare the current value with the old value in the TAG property.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Reply
Map
View

Click here to load this message in the networking platform