Export (0) Print
Expand All

ICE34

ICE34 validates that each radio button on every RadioButtonGroup Control has a property in the Property column of the RadioButton table that specifies its radio button group. ICE34 validates that this property exists and is set to a default value in the Property table which is equal to one of the group's radio button values in the Value column of the RadioButton table.

A radio button group must have a default for users to be able to select a choice using the TAB key. This is required for proper user accessibility.

ICE34 reports missing tables.

Result

ICE34 post an error message if there is a radio button that specifies an invalid property.

Example

ICE34 reports the following errors for the example shown.

ICE34 errorDescription
Control DialogA.Control2 must have a property because it is of type RadioButtonGroup.There is a RadioButtonGroup control, without the Indirect control bit set in the Attributes column of the Control table, that does not have a property listed in the Property column.
Maybe is not a valid default value for the RadioButtonGroup using property Property3. The value must be listed as an option in the RadioButtonGroup table.There is a default value for a property specified in the Value column of the Property table that is not one of the values for the radio button group specified in the Value column of the RadioButton table.
Property PropertyB must be defined because it is an indirect property of a RadioButtonGroup control DialogA.Control4The property referenced by this RadioButton group is an indirect property, and the value of the indirect property is not one of the choices for the RadioButton group.
Maybe is not a valid default value for the property PropertyA. The property is an indirect RadioButtonGroup property of control DialogA.Control5 (via property Property5).The value of the indirect property referenced via the control is not one of the default values for that RadioButtonGroup.

 

Control Table (partial)

DialogControlTypeAttributesProperty
DialogAControl1RadioButtonGroup0Property1
DialogAControl2RadioButtonGroup0 
DialogAControl3RadioButtonGroup0Property3
DialogAControl4RadioButtonGroup8Property4
DialogAControl5RadioButtonGroup8Property5

 

Property Table (partial)

PropertyValue
Property1Yes
Property3Maybe
Property4PropertyB
Property5PropertyA
PropertyAMaybe

 

RadioButton Table (partial)

PropertyOrderValue
Property11Yes
Property12Now
Property21Yes
Property22No
Property31Yes
Property32No
Property41Yes
Property42No
PropertyA1Yes
PropertyA2No
PropertyB1Yes
PropertyB2No

 

To fix the errors reported by this ICE, check the following:

  • That every RadioButton control entry without the indirect attribute set has a property listed in the Property column:
  • That every such property has at least one corresponding entry in the RadioButton table.
  • That every such property is defined in the Property table, with a value that is one of the choices from the RadioButton table.
  • That every property referenced in the Property column of a RadioButton control with the indirect attribute set is defined in the Property table.

Related topics

ICE Reference

 

 

Community Additions

ADD
Show:
© 2014 Microsoft