WidgetBase::GetRTDBody (open)

Return a renderer for a RTD from an instance record

Syntax

LOADLIB "mod::publisher/lib/widgets.whlib";

MACRO PTR FUNCTION GetRTDBody(RECORD richdoc, RECORD options)

Parameters

RECORD richdoc

The rich document

RECORD options

Options

STRING rtdtype

Path to structure to use. If not set, the parent RTD type is used

Return value

MACRO PTR

A Function PTR rendering the RTD, or a DEFAULT MACRO PTR if the RTD was empty