Using Interactive Templates With VPE

<< Click to Display Table of Contents >>

Navigation:  Interactive Documents >

Using Interactive Templates With VPE

Previous pageReturn to chapter overviewNext page

Basically, the handling of Templates which contain Controls (i.e. Interactive Objects) is the same as for normal Templates (see also: "

dycodoc Template Processing"):

Open a VPE Document

Load the Template

Set the Fields as required

Dump the Template

Show the Preview

 

The above will display the Template in the Preview, with the controls showing the values you had assigned to the Fields. However, you will realize that you can not make use of the Controls, i.e. they don't react on mouse clicks or keyboard input. The reason is that interaction is disabled by default. In order to activate the Controls, you need to:

Enable Interaction

By doing so, the controls will then react on mouse and keyboard input. Furthermore, you can set the Input Focus to any Control, so the user may start directly with editing the document.