TE Edit Control Java / HTML-JavaScript Help
Product page

OpenFile

This event is sent after a new file is read into the control.

void OpenFile(TejEvent ev)
{
  ....
}

The relevant TejEvent fields:

String DocName:  // The name of the newly opened file

This event can be used to update the file name on your application's title bar.