Multiple radio buttons are checked and will not disable.

Article ID: 873
Last updated: 05 Feb, 2008
Article ID: 873
Last updated: 05 Feb, 2008
Revision: 1
Views: 2744
Posted: 13 Nov, 1997
by Dean J.
Updated: 05 Feb, 2008
by Dean J.
Problem


A zRadioButton's check() state is changed in another control listener and multiple zRadioButton objects are not working correctly.


Cause


Usually other controls are used with radio buttons and the zRadioButton::check() method may be called under the another control, i.e. edit line.

Code placed in the event handler for another control will not automatically handle events for multiple radio buttons.


Action


Ensure that the clicked selection item in Events for Object Manager is handling the check() method for the zRadioButton.

If manually calling check(TRUE) for a zRadioButton in an event handler for another control,
be sure to check(FALSE) for any remaining zRadioButton.
This article was:   Helpful | Not helpful
Report an issue
Article ID: 873
Last updated: 05 Feb, 2008
Revision: 1
Views: 2744
Posted: 13 Nov, 1997 by Dean J.
Updated: 05 Feb, 2008 by Dean J.

Others in this category