大网数据广告活动
安装更新与部署

ICE34

· 52CE 我爱测

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 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 error Description
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.Control4 The 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)

Dialog Control Type Attributes Property
DialogA Control1 RadioButtonGroup 0 Property1
DialogA Control2 RadioButtonGroup 0
DialogA Control3 RadioButtonGroup 0 Property3
DialogA Control4 RadioButtonGroup 8 Property4
DialogA Control5 RadioButtonGroup 8 Property5

Property Table (partial)

Property Value
Property1 Yes
Property3 Maybe
Property4 PropertyB
Property5 PropertyA
PropertyA Maybe

RadioButton Table (partial)

Property Order Value
Property1 1 Yes
Property1 2 Now
Property2 1 Yes
Property2 2 No
Property3 1 Yes
Property3 2 No
Property4 1 Yes
Property4 2 No
PropertyA 1 Yes
PropertyA 2 No
PropertyB 1 Yes
PropertyB 2 No

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

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。