SetCurrentTitleId Method

Build 1501 on 14/Nov/2017  This topic last edited on: 23/Mar/2016, at 12:12

Description

In version 1.4.1394.0 and newer

Removed. Current title is a propriety of a document, and not any more of the application.

In version 1.4.1393.0 and older

Set the current title (in session). The title change is not persistent. After closed, Fred will restart on the dialog selected title.

Syntax

Fred.SetCurrentTitleId (TitleId, Quiet)

TitleId

Required. Id of the title you want to make current.

Quiet

Required. TRUE if you want to close documents without prompting.

Return value

Returns 0 for success, 1205 if "TitleId" is invalid and 1013 if the operation was cancelled.

Context

Fred application dispatcher commands

See also

GetCurrentTitleId Function