窗体上添加有3个命令按钮,分别命名为Command1、Command2和Command3。编写 Command1的单击事件过程,完成的功能为:当单击按钮Command1时,按钮Command2 可用,按钮Command3不可见d以下正确的是________。A.Private Sub Command1_Click() Command2.Visible=True Command3.Visible=False End SubB.Private Sub Command1_Click() Command2.Enabled=True Command3.Enabled=False End SubC.Private Sub Command1_Click() Command2.Enabled=True Command3.Visible=False End SubD.Private Sub Command1_Click() Command2.Visible=True Command3.Enabled=False End Sub
窗体上添加有3个命令按钮,分别命名为Command1、Command2和Command3。编写 Command1的单击事件过程,完成的功能为:当单击按钮Command1时,按钮Command2 可用,按钮Command3不可见d以下正确的是________。
A.Private Sub Command1_Click() Command2.Visible=True Command3.Visible=False End Sub
B.Private Sub Command1_Click() Command2.Enabled=True Command3.Enabled=False End Sub
C.Private Sub Command1_Click() Command2.Enabled=True Command3.Visible=False End Sub
D.Private Sub Command1_Click() Command2.Visible=True Command3.Enabled=False End Sub
相关考题:
( 26 ) 窗体 中 3 个命令按钮 , 分别命名 为 command1 、 command 2 和 command3, 当单 击 command 1 按钮时 , command 2按钮变为可用, command3 按钮变为不可见,下列 command1 的单击事件过程中,正确的是A ) private sub command1_click()Command2.visible=trueCommand3.visible=falseEnd subB ) private sub command1_click()Command2.enabled=trueCommand3.enabled=falseEnd subC ) private sub command1_click()Command2.enable=trueCommand3.visible=falseEnd subD ) private sub command1_click()Command2.visible=trueCommand3.enable=falseEnd sub
创建一个窗体,在该窗体中建立两个按钮,分别命名为Command1和Command2。下列程序代码用于实现以下功能:单击命令按钮Command1后,按钮Command1变为不可用,而Cmmnand2设置为可用。请填空。Private Sub Command1_ Click()Command1.______ = FalseCommand1.______ = TrueEnd Sub
窗体上有3个按钮Commandl、Command2和Command3,如以下代码: Private Sub Commandl Click() Command2.Enabled:Fal3e Command3.Vi3ible=Fal3e End Sub 该程序的功能是 ( )A.当单击按钮Command1时, Command2和Command3按钮不可用B.当单击按钮Command1时, Command2和Command3按钮不可见C.当单击按钮Command1时, Cammand2按钮不可用和Command3按钮不可见D.当单击按钮Command1时, Command2按钮不可见和Command3按钮不可用
窗体上添加有3个命令按钮,分别命名为Command1、Command2和Command3,编写Command1的单击事件过程,完成的功能为:当单击按钮Command1时,按钮 Command2可用,按钮Command3不可见。以下事件过程中正确的是( )。A.Private Sub Command 1 Click() Command2.Visible=True Command3.Visible=False End SubB.Private Sub Command1 Click() Command2.Enabled=True Command3.Visible=False End SubC.Private Sub Command1_Click() Command2.Enabled=True Command3.Visible=False End SubD.Private Sub Command1 Click() Command2.Visible=True Command3.Enabled=False End Sub
窗体上添加有3个命令按钮,分别命名为Commandl、Command2和Command3,编写Commandl的单击事件过程,完成的功能为:当单击按钮Commandl时,按钮Command2可用,按钮Command3不可见。以下正确的是( )。A.B.C.D.
在窗体上创建三个命令按钮,名称分别为Command1、Command2和Command3,标题分别为“导入数据”、“计算”和“保存数据”,以及一个文本框,名称为Text1。编写事件过程,使得在运行时,单击“导入数据”按钮,从考生文件里读入data.txt文件(其中有20个整数),在Text1中显示。单击“计算”,采用冒泡算法排序。单击“保存数据”,存入out.txt文件中。程序运行界面如图29所示。
窗体上添加有3个命令按钮,分别命名为Command1、Command2和Command3。编写Commandl的单击事件过程,完成的功能为:当单击按钮Command1时,按钮Command2可用,按钮Command3不可见。以下正确的是( )。A.Private Sub Command1_C1ick() Command2.Visible=True Command3.Visible=False End SubB.Private Sub Commandl_C1ick() Command2.Enabled=True Command3.Enabled=False End SubC.Private Sub Conunand1_C1ick() Command2.Enabled=True Command3.Visible=False End SubD.Private Sub Command1_Click() Command2.Visible=True Command3.Enabled=False End Sub
在窗体上画三个命令按钮,其名称分别为Command1、Command2和Command3,然后编写如下事件过程: Private Sub Command1 Click() Command2.Enabled = False Command3.Visible = False End Sub程序运行后,单击命令按钮Command1,则执行的操作是______。A.命令按钮Command2和Command3禁用B.命令按钮Command2和Command3隐藏C.命令按钮Command2隐藏,Command3禁用D.命令按钮Command2禁用,Command3隐藏
窗体上添加有3个命令按钮,分别命名为.Command1、Command2和Command3。编写Command1的单击事件过程,完成的功能为:当单击按钮Command1时,按钮Command2可用,按钮Command3不可见。以下正确的是( )。A.Private Sub Command1_C1ick() Command2.Visible=Tme Command3.Visible=False EndSubB.Private Sub Command1 Click() Command2.Enabled=Tme Command3.Enabled=False EndSubC.Private Sub Command1_C1ick() Command2.Enabled=True Command3.Visible=False End SubD.Private Sub Command1_Click() Command2.Visible=True Command3.Enabled=False End Sub