Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem refreshing a listbox
Message
 
 
À
30/11/2001 09:16:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00587951
Message ID:
00587959
Vues:
28
This message has been marked as the solution to the initial question of the thread.
>I have a sample test form I am developing, that uses 2 listboxes and 2 command buttons to create a 'mover'. One button to add, the other to remove an item from the second listbox. This works fine, with one exception.
>
>When adding an item to the second listbox, I have discovered that I need to do a THISFORM.Lst2.SETFOCUS() then a THIS.SETFOCUS() in the command button CLICK() in order to get the listbox display to update. Either THISFORM.REFRESH() or THISFORM.Lst2.REFRESH() do nothing. Can anyone explain this behavior?
>
Try THISFORM.Lst2.REQUERY(). BTW, what's RowSource of the lidtbox?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform