窗体上有三个按钮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不可用

窗体上有三个按钮Command1、Command2和Command3,如以下代码所示,该程序的功能是______。Private Sub Command1_ Click() CommandEnabled=False CommandVisible =FalseEnd Sub

A.当单击按钮Command1时,按钮2和按钮3都不可用

B.当单击按钮Command1时,按钮2和按钮3都不可见

C.当单击按钮Command1时,按钮2不可用和按钮3不可见

D.当单击按钮Command1时,按钮2不可见和按钮3不可用


相关考题:

( 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

窗体上添加有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

创建一个窗体,在该窗体中建立两个按钮,分别命名为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.

窗体上添加有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