Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter SeventeenApplication Integration Functions (continued)

FindEditWindow Function

Overview

The FindEditWindow function looks for an edit window by window handle or filename and return an edit window index.

Syntax/Parameters

Syntax

int = FindEditWindow ( handle hwTarget | string filename );

Parameters

hwTarget

An optional handle. The handle can be to an MDI client or an edit view. If hwTarget is specified, then index or filename cannot be specified. Or,

filename

An optional string specifying a filename to find. The string is not case-sensitive. If filename is specified, then hwTarget or index cannot be specified. A hwTarget or filename parameter must be provided.

Return Value

Returns an int value as the edit window index or a formatted error code on failure.

Remarks

The edit window index can be used to address the edit window using various edit window functions. The index remains valid until the window is closed. Edit window indices are not necessarily contiguous or in order of edit window creation.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE