Interaction

<< Click to Display Table of Contents >>

Navigation:  Interactive Objects >

Interaction

Previous pageReturn to chapter overviewNext page

By default, a document which contains controls is not automatically editable by the user, i.e. all controls are locked for editing.

Set this property in order to enable or disable the whole document for editing.

A disabled control can not receive the focus, therefore the user can not change the control's value, neither with the keyboard, nor with the mouse. It is still possible to change the values of disabled controls by code.

The interaction for a document can not be enabled, if the document is stream based, i.e. it is opened using SwapFileName. Stream based documents are not editable. If you want the user to edit a .VPE document file, open a memory based document (i.e. use OpenDoc()) and read the document file into memory using ReadDoc().

property boolean VPE.Interaction

read / write; runtime only

Possible Values:

Value

Description

True

enable the whole document for editing

False

disable the whole document for editing

Default:

False

 

See also:

"Interactive Documents" in the Programmer's Manual.