ITPERTBQuestion

A descendant of ITPQuestion, representing an Editable Rich Text Block Question on a form. It presents the question as a clickable text with an adjacent button and uses ActiveX to open ITP/Workstation to allow editing the Rich Text Block. Validates whether the Documents is still open for editing.

constructor

ITPERTBQuestion

Trivial

public methods

-

overrides

initScreenElements()

Replaces the trivial input element by an input containing the question text and an edit button that triggers editBlock.

prepareForSubmission(pCallback)

Checks that the document is closed and then triggers

saveBlock.

axEvent(pEvent)

changes the edit button icon depending on the state (open or closed) of the rich text block document.

other methods

editBlock()

Uses ActiveX to activate EditDocument for the Rich Text Block document.

saveBlock()

Uses ActiveX to upload the edited rich text block document to ITP/Server.