Browser Subforms (Magic xpa 4.x)
The subform lets you call a program or task that is executed and displayed as part of a browser form. Subforms let you create sophisticated screens for the Internet by implementing a relationship between a called program or task and a browser form. A browser form can support multiple subforms.
You can zoom from a browser form entry in the Form Editor to the HTML Control repository and define a subform. The subform has the following properties:
Model
|
Lets you select another model, display the default form properties, and disinherit or inherit all inherited properties
|
Connect To
|
Lets you connect to either a program or task.
|
PRG/TSK Number
|
Select a program or task entry number. The Call Program operation requires an entry number.
|
Arguments
|
Select the arguments that will be passed to the subform.
|
Is Cached
|
When this property is set to Yes, the client caches the subform data view for each selected record of the parent Browser task. This means that the client does not have to perform the redundant and time-consuming operation of accessing the server for the subform data view when the end user returns to a previously selected record.
The subform data views are cleared from the subform cache when:
A View Refresh internal event is used.
-
Selecting the Create mode. If you create a new line when in Modify mode, the client will not reset the subform cache.
-
A Rollback action is used.
-
The Browser task is closed.
When No is selected, the client does not cache the subform data views, but accesses the server every time the subform data view changes.
|
Tab Order
|
Sets the order of the control within the tab cycle of the form.
This property lets you enter a four-digit tab identifier for the selected control when the Automatic Tab Order mode is not active. When the Automatic Tab Order mode is active, this property becomes a read-only field, displaying the automatically generated tab identifier.
Note: When the task contains an RM Compatible logic unit, this property is disabled.
|
Tab Into
|
Determines whether the user can park on the control at runtime by using the keyboard.
Setting the value to No lets you place a cursor in the control by mouse-click, but excludes the control from the tab order.
This property is enabled only when a variable is entered in the Data property. The Tab Into property is always enabled for the Subform control.
Note: When the task contains an RM Compatible logic unit, this property is disabled.
The default value is Yes.
|
Keyboard Access to Subforms