FormGetCaption

Top  Previous  Next

Prototype

 

StrCaption:=FormGetCaption(intFormHandle)

 

Description

 

Gets window title.

 

Parameters

 

intFormHandle: integer number corresponding to the window handle.

 

Returned value

 

StrCaption: string corresponding to the window title .

 

Notes

 

If intFormHandle is 0 the function processes the application mail window.

 

Example

 

//It gets main form name

Caption:=FormGetCaption(HandleForm);