我如何默认检查单选按钮 [英] how can i check the radio button by default

查看:64
本文介绍了我如何默认检查单选按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

frns请问我如何在默认情况下检查单选按钮,以及当其选中时,curso必须位于textbox1中.请帮助我在vb.net中进行编码.

frns tel me how can i check the radiobutton by default and when its checked the curso has to be in textbox1. pls help me wih the coding in vb.net.

推荐答案

非常简单.将RadioButton的Checked属性设置为True. :)
It''s very easy.Set the Checked Property of RadioButton to True. :)
If RadioButton1.Checked = True Then
   TextBox1.Focus()
End If


这篇关于我如何默认检查单选按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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