FORMULA LANGUAGE


@SetTargetFrame
Example

Allows you to specify a target frame when opening a view, page, or frameset, or when composing or editing a document.

Note This @function is new with Release 5.

Syntax

@SetTargetFrame( targetframe )

Parameters

targetframe


Usage

Use @SetTargetFrame before opening or refreshing the view, page, or frameset, or before composing or editing a document. The following @commands use the frame specified in the @SetTargetFrame:


If you specify the newinstance parameter for @Command([OpenView]), the @SetTargetFrame function is ignored.

If you do not specify a viewName for @Command([OpenView]), then the last view is the one that opens in the specified targetframe of @SetTargetFrame.

If you specify a targetFrame parameter for @Command([RefreshFrame]), the @SetTargetFrame function is ignored.

@SetTargetFrame can be used in action and hotspot formulas.

Language cross-reference

SetTargetFrame method of LotusScript NotesUIWorkspace class

FrameText property of LotusScript NotesOutlineEntry class

FrameText property of Java OutlineEntry class

Example