有关Visual Basic的问题 [英] Question about Visual Basic

查看:49
本文介绍了有关Visual Basic的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何在Visual Basic中做到这一点

I would like to know how to do this in visual basic

说我有两个分组框,分组框的文本代表问题,每个分组框中有两个或多个单选按钮,代表每个问题的答案.

Say I have two groupboxes, the text of the groupboxes represents the questions, and I have two or more radio buttons in each groupbox that represents the answers to each question.

当我单击一个单选按钮时,会弹出一个消息框,指出问题是对还是错,如果我再次选择已经回答的问题的任何答案,则消息框将显示这个问题已经存在 已回答,请单击下一步"转到下一个问题,然后无论我尝试再次回答该问题多少次,消息框都会显示该问题已被回答.

When I click on one of the radio buttons, a message box pop up stating whether the question is right or wrong, and if I select any of the answers again to the question I have already answered, the message box will say 'This question has already been answered, please move on to the next question by clicking Next', and then no matter how many times I try to answer the question again, the message box will say that the question has already been answered.

我想将其编程到只允许回答一个问题的程度.

I want to program it to the point where it only allows me to answer one question once.

谢谢您的帮助.

推荐答案

到目前为止,您的代码是什么?尝试使用插入代码块"功能将其添加到原始问题中,然后将代码粘贴到其中.
What's your code so far? Try adding it to your original question using the Insert Code Block function and pasting your code into it.


这篇关于有关Visual Basic的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆