DerivedDlg Method

Build 1501 on 14/Nov/2017  This topic last edited on: 22/Mar/2016, at 17:07

Description

Displays a dialog which lists all the articles copied to or from the current one, to select one article and return its id.

Available in Ted and Fred.

Syntax

id = object.DerivedDlg

object

Required. Object name. Returned by Ted.GetActiveArticle, or Fred.GetActiveArticle, e.g. dim objarticle = Ted.GetActiveArticle or dim objarticle = Fred.GetActiveArticle.

Return value

Id of the selected derived article, or 0, if canceled.

Example

The following Ted script opens the derived article selected by the user:

   Dim id As Integer = Ted.GetActiveArticle.DerivedDlg

   If id > 0 Then

     Ted.ArticleOpenId(id, False, Nothing)

   End If

Context

Article object