
BBjControl::getCausesControlValidation
Description
In BBj 5.0 and higher, this method returns whether entering the BBjControl will trigger control validation on the control that previously had focus.
Syntax
Return Value |
Method |
boolean |
getCausesControlValidation() |
Parameters
None.
Return Value
Returns whether this BBjControl causes control validation.
0 = Entering this control will 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.
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
rem ' BBjControl::getCausesControlValidation |
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.