Set EventTracking, Set("EventTracking"), Set EventList, Set("EventList")
These commands let you programmatically control all the same features managed by the Debugger's Event Tracking dialog. Well, almost all of them, anyway.
Usage |
SET EVENTTRACKING ON | OFF | PROMPT cTrackingStatus = SET( "EVENTTRACKING" ) SET EVENTTRACKING TO [ FileName [ ADDITIVE ] ] cTrackingFile = SET( "EVENTTRACKING", 1 ) SET EVENTLIST TO [ EventList [ ADDITIVE ] ] cEventsTracked = SET( "EVENTLIST" ) |
Example |
SET EVENTLIST TO Load, Init, Click SET EVENTTRACKING ON * Run a form SET EVENTTRACKING OFF SET EVENTLIST TO * To remove a specific event from the * tracking list, do something like: cList = SET("EVENTLIST") cList = STRTRAN(cList,cEvent,"") cList = STRTRAN(cList,", ,",",") SET EVENTLIST TO &cList |
See Also |