getFileTitle

getFileTitle(): String;

The getFileTitle method of the JadeBytes class returns a string containing the path and file name associated with a singleFile instance. It returns an empty string for shared file instances.

The following example shows the use of the getFileTitle method.

vars
    bytes : MyJadeBytes;
begin
    beginTransaction;
    create bytes persistent;
    bytes.singleFile := true;
    write bytes.getFileTitle();
epilog
    abortTransaction;
end;