Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EventTracking question
Message
 
 
À
21/01/2003 10:25:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00743747
Message ID:
00743777
Vues:
10
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform