
BBjControl::setCausesControlValidation
Description
In BBj 5.0 and higher, this method sets whether entering the BBjControl will trigger control validation on the control that previously had focus.
Syntax
Return Value |
Method |
void |
setCausesControlValidation(boolean causesValidation) |
Parameters
Variable |
Description |
causesValidation |
Specifies if the BBjControl should cause control validation. 0 = Entering this control should not cause control validation on the control that previously had focus. This should be used sparingly, typically with a Cancel button. 1 = Entering this control should cause control validation on the control that previously had focus. This is the default value. |
Return Value
None.
Remarks
This feature is typically used with controls like the Cancel button that should let the user exit without forcing valid data to be entered first.
Controls will only trigger validation when both getCausesControlValidation() and isFocusable() are true.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.