EvalFrame Property
Indicates the current frame of the JavaScript source code.
Syntax
char* GetEvalFrame();
int SetEvalFrame(char* lpszEvalFrame);
Default Value
""
Remarks
This property indicates the current frame of the JavaScript source code.
This property may be set before calling Eval to specify a file name (such as "test.js") to associate with the JavaScript code being run. If an error occurs the stack trace will include the specified name. This is helpful for reporting and organizational purposes when the JavaScript code is not already present in a file.
When calling EvalFile this property will automatically be populated with the filename in the event of an error.
This property is not available at design time.
Data Type
String