网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

窗体上有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个按钮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按钮不可用 ” 相关考题
考题 ( 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

考题 窗体上有Commandl、Command2两个命令按钮。现编写以下程序:OptionBase 0Dim a()As Integer,m As IntegerPrivate Sub Commandl_Click()m=InputBox(”请输入一个正整数”)ReDim a(m)End SubPrivate Sub Command2_Click()in=InputBox(”请输入一个正整数”)ReDim a(m)End Sub运行程序时,单击Commandl后输入整数10,再单击Command2后输入整数5,则数组a中元索的个数是A.5B.6C.10D.11

考题 窗体上有三个按钮Command1、Command2和Command3,如以下代码所示,该程序的功能是______。Private Sub Command1_ Click() CommandEnabled=False CommandVisible =FalseEnd SubA.当单击按钮Command1时,按钮2和按钮3都不可用B.当单击按钮Command1时,按钮2和按钮3都不可见C.当单击按钮Command1时,按钮2不可用和按钮3不可见D.当单击按钮Command1时,按钮2不可见和按钮3不可用

考题 窗体上添加有3个命令按钮,分别命名为Commandl、Command2和Command3,编写Commandl的单击事件过程,完成的功能为:当单击按钮Commandl时,按钮Command2可用,按钮Command3不可见。以下正确的是( )。A.B.C.D.

考题 窗体中有3个命令按钮,分别命名为Commandl、Command2和Command3。当单击Commandl按钮时,Command2按钮变为可用,Command3按钮变为不可见。下列Corn—mandl的单击事件过程中,正确的是( )。A.private sub Command1 Click( ) Command2.Visible—trueCommand3.Visible—false End SubB.private sub Commandl Click( ) Command2.Enable—trueCommand3.Enable=falseEnd SubC.private sub Command1 Click( ) Command2.Enable—trueCommand3.Visible—falseEnd SubD.private sub Command1 Click( ) Command2.Visible=trueCommand3.Enable—falseEnd Sub

考题 窗体中有3个命令按钮,分别命名为Commandl、Command2和Command3。当单击Cmmandl按钮时,Command2按钮变为可用,Command3按钮变为不可见。下列Corn.mandl的单击事件过程中,正确的是A.Private Sub Commandl—click() Command2.ViSible=True Command3.ViSible=False End SubB.Private Sub Commandl_click() Command2.Enabl ed=True Command3.Enabl ed=False End SubC.Private Sub Commandl_C1ick() Command2.Enabled=True Command3.ViSible=False End SubD.Private Sub Commandl_C1ick() Coiihmand2.Vi s ible:True Command3.Enabled=False End Sub

考题 窗体上添加有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个命令按钮,分别命名为Commandl、Command2和Command3。当单击Cmmandl按钮时,Command2按钮变为可用,Command3按钮变为不可见。下列Commandl的单击事件过程中,正确的是_______。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