Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo DisplayValue Won't Stay Set
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01076265
Message ID:
01076301
Views:
26
>The Valid() code calls the form refresh, to update the text to the right of the drop-down. The Refresh() code for the text box performs a look-up, to set the description of the code. If I cause the application to pause at the end of Refresh(), the combo still displays the correct code. When the Refresh() exits, the combo box is cleared.
>
>I just now changed the Valid() code to call the text box Refresh() directly, to prevent any other refresh from firing. I can confirm the DisplayValue property by showing it in a WAIT WINDOW, after all of the code has been run, at the end of the Refresh(). However, the combo box is still being cleared after the Refresh() exits.
>
>Does something else get fired before returning to the READ EVENTS?
>
>---Michael
>
>>when do you refresh the form ?

try this ( it is complex explain all ):
* valid
this.init
this.value = this.value
textbox.refresh
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform