Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox Interactive Change Event
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01638995
Message ID:
01638997
Views:
64
>Hi there,
>
>in the interactivechange-event of a combobox I have placed a function which uses the changed value and displays
>a graphic based on the value. The combobox is populated by two fields of a table, the second is bound to the
>controlsource. This all works but after that,, the value is set back to the "original" value before the change, the
>displayvalue is also the "old" one..
>I took the function away and then the combobox works as it should. I set an Dodefault()-Call after the function with no result.
>I put another function just for testing in the event and the same happens, the combo isn't updated anymore and keeps ist
>old values. So it seems to me that the Combobox does not work properly when I call a function or form-method
>from the interactivechange-event. Or did I miss something?
>
>Best regards
>
>Thomas

I normally add this.value = this.value before calling anything else in the InteractiveChange of dropdown or checkbox.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform