Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question about timer and refreshing a grid
Message
From
25/04/2004 22:23:11
 
 
To
25/04/2004 22:14:02
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00898017
Message ID:
00898024
Views:
14
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform