About: Warning: Skipping non-radio button in group

Source: Internet
Author: User

The following is a description:

 

The problem is that the next control in the tab order following the last radio
Button of your group must have the ws_group flag set.

1:

Ex:
Control group flag on
Static text Yes
Radio button1 Yes
Radio button2 No
Radio button3 No
Button Yes

In the previous list, if the last button did not have the group flag set you
Wocould get the trace warning while running

 

 

2:

1) Select the group attribute for your first radio;
2) Add a control after the last Raido control in the "this group" (that is, add the order of the control, you can use Ctrl + D to modify the order) select the group attribute. If the last radio control is followed by the button, select the group attribute of the button (the default group attribute of the cstatic control is true );
3) The order of the radio controls in the same group must be connected. You can use Ctrl + D to adjust the order.

 

3:

Symptom: When we add a group of radio buttons and set them as a group of mutex buttons, and then add other controls, press F5 to compile and the following warning message is displayed: Warning: skipping non-radio button in group.

Cause: This warning tells us that the compilation system skips the non-single button (in the same group as this group of mutex buttons. In fact, when we select the group attribute of a control, other controls created after the control are considered to be the same group of controls, unless the control with the group attribute is set next. That is to say, we put the controls created after the single-choice button in the same group, and these controls are non-radio controls.

Solution: although this warning does not affect the running of the program, it is better to remove it. Knowing the cause is easy to solve. Generally, the control created after the single-choice button will be a group box (the one in XYZ above). In this case, we only need to check the group attribute of the group box to solve this problem; if the controls after this set of radio buttons are of another type, you only need to tick the group attribute.

 

From: http://blog.csdn.net/wuyijc/article/details/4554740

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.