Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox refresh
Message
De
26/02/2001 16:27:11
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Listbox refresh
Divers
Thread ID:
00479744
Message ID:
00479744
Vues:
36
nAnswer = MessageBox('Do you want to delete this authorization type?',4)
IF nAnswer = 6
REPLACE uplog WITH ALLTRIM(GETENV("USR")), ;
updated WITH DATE()
DELETE
IF EOF()
SKIP -1
ELSE
SKIP
IF EOF()
GO BOTTOM
ENDIF
ENDIF
ENDIF
wait window 'list refresh'
ThisForm.List1.Refresh
wait window 'form refresh'
ThisForm.RELEASE

*****************************************************

What's wrong with above (ClickEvent of Delete button)? Does the VFP listbox have no such thing as 'Refresh'? What I need to do is get the listbox to refresh. When deleting (as above code), the deleted record remains on the list (does refresh when clicking on the listbox, but shouldn't relay on that). Same for adding a record (same thing, clicking on the listbox refresh, but should pop/show a new line right after 'Save' button).

Chuck
Today is tomorrow's yesterday.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform