TitleView.Rename Method

The TitleView.Rename method renames a title.

Syntax

TitleView.Rename( selection, newtitlename)

Parameters

selection

This parameter is a Long value specifying the index of the title to rename.

newtitlename

This parameter is a String containing the new title name.

Remarks

To obtain the value of a particular selection, use the CurrentSelection property, or the selection parameter of the OnSelectionChanged event. To invoke this method on the current selection, specify -1

To display a dialog box for renaming a title, specify an empty string for the newtitlename parameter, as shown in the following example:

TitleView1.Rename -1, ""

See Also

OnTitleRename

© 1996-1998 Microsoft Corporation. All rights reserved.