You use form sections to program actions that you want to be executed when forms are activated or ended. Form sections consist of a main section and a subsection. The main section specifies the particular form(s) for which the actions are to be executed. The subsections specify when the actions must be executed – for example, when the form is activated or when the form is ended.
Main sections
form.<form number>:
The subsections associated with this section are executed for the specified form. The <form number> is the sequence number of the form, as defined in the Maintain Sessions by Package VRC session (ttadv2100m000).
form.all:
The subsections associated with this section are executed for all forms of the session.
form.other:
A subsection associated with this section is executed for all forms for which the particular subsection has not been programmed in a form.<form number> section.
Subsections
init.form:
The actions programmed in this subsection are executed the first time the specified form becomes current, immediately before the subsection before.form. You use this subsection to program the first action to be performed by the system – a first.set or first.view, for example.
before.form:
The actions programmed in this subsection are executed each time the specified form becomes current.
after.form:
The actions programmed in this subsection are executed each time the specified form is ended.
Example:
form.1:
init.form:
execute(first.set)
form.other:
init.form:
display("disp3")
form.all:
before.form:
display("disp")
Note:
Only the form.all section is relevant to dynamic forms. For dynamic forms, use the group sections instead.
Related Post:
Main sections
form.<form number>:
The subsections associated with this section are executed for the specified form. The <form number> is the sequence number of the form, as defined in the Maintain Sessions by Package VRC session (ttadv2100m000).
form.all:
The subsections associated with this section are executed for all forms of the session.
form.other:
A subsection associated with this section is executed for all forms for which the particular subsection has not been programmed in a form.<form number> section.
Subsections
init.form:
The actions programmed in this subsection are executed the first time the specified form becomes current, immediately before the subsection before.form. You use this subsection to program the first action to be performed by the system – a first.set or first.view, for example.
before.form:
The actions programmed in this subsection are executed each time the specified form becomes current.
after.form:
The actions programmed in this subsection are executed each time the specified form is ended.
Example:
form.1:
init.form:
execute(first.set)
form.other:
init.form:
display("disp3")
form.all:
before.form:
display("disp")
Note:
Only the form.all section is relevant to dynamic forms. For dynamic forms, use the group sections instead.
Related Post:
0 comments:
Post a Comment