LeaveField Method
The LeaveField method determines whether or not Siebel Open UI has removed the focus from a field in an applet. It returns one of the following values:
true. Siebel Open UI has removed the focus from a field. This situation typically occurs when the user navigates away from the field. To do this navigation, the user clicks another object in the applet or navigates away from the applet.
false. Siebel Open UI has not removed the focus from a field.
It uses the following syntax:
LeaveField(control,value,do_not_leave);
where:
control identifies the control that LeaveField examines.
value contains the value that Siebel Open UI sets in the proxy for the control.
do_not_leave is set to one of the following values:
true. Keep the focus on the control.
false. Do not keep the focus on the control.
For examples that use the LeaveField method, see Customizing the Presentation Model to Identify the Records to Delete and Customizing Methods in the Presentation Model to Store Field Values.
For more information about using this method, see Life Cycle Flows of User Interface Elements.