GetCurrentTitleId Method

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

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.

Use, as a replacement:

Dim doc As FredDoc = FredApp.GetActiveDoc()

Dim titleid As Integer = 0

If Not doc Is Nothing Then

   titleId = doc.GetTitleId()

Else

   titleid = 0

End If

In version 1.4.1393.0 and older

Returns the id of the current title in Fred.

Syntax

lngId = Fred.GetCurrentTitleId

Context

Fred application dispatcher commands

See also

SetCurrentTitleId