Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question about timer and refreshing a grid
Message
De
25/04/2004 22:23:11
 
 
À
25/04/2004 22:14:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00898017
Message ID:
00898024
Vues:
13
i put it in the timer1.timer()
public servercount
thisform.mygrid1.refresh()

sele drs
servercount=reccount()

if servercount>nreccount
	#define ccicon "add.ico"
	with thisform.foxtray
		.iconsource = ccicon
		.icontip = "There are " + alltrim(str(servercount-nreccount)) + " unread documents in your list."
		.showicon
	endwith
	nreccount=servercount
endif
the code after thisform.mygrid1.refresh() simply checks if a new record has been added in the database.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform