Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Looking for best place to stick Listbox Requery command?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00571067
Message ID:
00571079
Vues:
32
>I have a form with a listbox on it. Whenever I leave the form and return to the form I want to update the listbox with this requery command. Where should I put the command so that this can happen?
>
>I was wondering where to stick the following two commands -
>THISFORM.lstTube_tries.Requery
>THISFORM.Refresh
>
>When I leave the main form, I go to another form that I can use to add to the listbox on the first form, but when I return from the second form the listbox does not show the changes made on the second form. For some reason, the Requery is not occurring upon return to the main form. But if I press Prev or Next button, the listbox does show the changes.
>
>What to do? Thanks for the advice.

Form's Activate method fires, then you go to another form and return back to the original form... (or form.GotFocus)
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform