Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter SixFile Functions (continued)

GetEditObjectFileType Function

Overview

The GetEditObjectFileType function retrieves the file type code for an associated edit object.

Syntax/Parameters

Syntax

dword = GetEditObjectType ( handle hObject );

Parameters

hObject

A handle to an Edit Object or an Edit View.

Return Value

Returns a dword value containing a file type code or zero on failure. Use the GetLastError function to retrieve error information. It is possible to have a file type of FT_UNKNOWN (0).

Remarks

The file type is associated with the Mapped Text Object attached to the Edit Object.

See Section 6.10 File Types for a list of SDK defined file types.

Related Functions

Platform Support

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

Legato IDE, Legato Basic