Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo DisplayValue Won't Stay Set
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01076265
Message ID:
01076301
Vues:
25
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform