Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EventTracking question
Message
 
 
To
21/01/2003 10:25:20
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00743747
Message ID:
00743777
Views:
9
This message has been marked as the solution to the initial question of the thread.
Yep, you are correct. It fails in VFP 7 SP1, but it is fixed in 8.

>My test still does not show the events in question. Consider to following code snippet. You may copy and run it in VFP.
>
>
>clear
>close databases all
>
>create cursor test (f1 c(10), f2 i)
>insert into test values ('Hello',1)
>insert into test values ('World',2)
>go top
>
>set eventlist to afterrowcolchange,beforerowcolchange additive
>set eventtracking on
>set eventtracking to 'c:\events.log'
>
>public oform1
>oform1=newobject("form1")
>oform1.show
>
>read events
>
>set eventtracking to
>set eventtracking off
>
>modify file c:\events.log
>
>define class form1 as form
>
>	height = 171
>	width = 375
>	docreate = .t.
>	autocenter = .t.
>	caption = "Form1"
>	name = "Form1"
>
>	add object grid2 as grid with ;
>		height = 108, ;
>		left = 12, ;
>		top = 12, ;
>		width = 348, ;
>		name = "Grid2"
>
>	procedure destroy
>		clear events
>	endproc
>
>enddefine
>
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform