The ViewFormActions template adds functionality to Form procedures. It gives the ability to configure columns on a window for viewing only. The entire procedure can be set for view only or an individual controls.
The ViewFormActions template provides the following prompts:
Force View OnlyMode
Check this box to put the procedure in view only mode. This generates code that sets GlobalRequest to ViewRecord.
From the drop down list, choose the view action required for each control. Each control has a separate view action.
None Provides no special attributes to the control.
Hide Hides the control from view when the procedure is called with a ViewRecord action.
Disable Disables the control when the procedure is called with a ViewRecord action.
Read Only Sets PROP:ReadOnly for the control when the procedure is called with a ViewRecord action.
Set Properties Allows any property to be set for the specific control.
Property Any runtime property that is valid for the specific control type.
New Value A value to assign to the control via the property expression.
For Web applications, Disabled and Read Only ENTRY controls display as text.