niusouti.com

下列( )事件过程可以将打开文件对话框的标题改变为“new Caption”。A.Prirate Sub Commandl Click() CommonDialogl.DialogTitle="new Caption" CommonDialogl.ShowFont End SubB.Private Sub Commandl+Click() CommonDialogl.DialogTitle="new Caption" CommonDialogl.ShowOpen End SubC.Private Sub

题目

下列( )事件过程可以将打开文件对话框的标题改变为“new Caption”。

A.Prirate Sub Commandl Click() CommonDialogl.DialogTitle="new Caption" CommonDialogl.ShowFont End Sub

B.Private Sub Commandl+Click() CommonDialogl.DialogTitle="new Caption" CommonDialogl.ShowOpen End Sub

C.Private Sub Commandl_Click() CommonDialogl.DialogTitle="new Caption" CommonDialogl.ShowHelp End Sub

D.Private Sub Commandl_Click() CommonDialogl.DialogTitle="new Caption" CommonDialogl.ShowColor End Sub


相似考题
更多“下列()事件过程可以将打开文件对话框的标题改变为“new Caption”。A.Prirate Sub Commandl Click() ”相关问题
  • 第1题:

    以下( )事件过程可以将打开的对话框的标题改变为“新标题”。

    A.Private Sub Commandl_Click() Common Dialog1.DialogTitle="新标题" Common Dialog1.ShowFont End Sub

    B.Private Sub Commandl_Crick() CommonDialog1.DialogTifie="新标题" CommonDialog1.ShowOpen End Sub

    C.Private Sub Commandl_Click() Common Dialog1.DialogTitle="新标题" Common Dialog1.ShowClose End Sub

    D.Private Sub Commandl_Click() CommonDialogl.DialogTitle="新标题" CommonDialogl.ShowColor End Sub


    正确答案:B

  • 第2题:

    在窗体中添加了一个文本框和一个命令按钮(名称分别为Textl和Commandl),并编写了相应的事件过程。运行此窗体后,在文本框中输入一个字符,则命令按钮上的标题变为"Access模拟”。以下能实现上述操作的事件过程是( )。

    A.Private Sub Commandl.Click( ) Caption=”Access模拟”Commandl.

    B.Private Sub Textl click( ) Caption=”Access模拟”EndSubEndSub

    C.Private SUb Commandl Change( ) Caption=”Access模拟”Commandl.

    D.Private Sub Textl_Change( ) Caption=”Access模拟”End SubEnd Sub


    正确答案:D
    暂无解析,请参考用户分享笔记

  • 第3题:

    在窗体中有一个标签kabel(),标题为“测试进行中”;有一个命令按钮Command1,事件代码如下:

    Private Sub Conunandl_Click()

    Label(). Caption=“标签”

    End Sub

    Private Sub Foml_Load()

    Form.Caption:“举例”

    Commandl.Caption=“移动”

    End Sub

    打开窗体后单击命令按钮,屏幕显示

    A.

    B.

    C.

    D.


    正确答案:D

  • 第4题:

    下列( )事件过程可以将打开文件对话框的标题改变为“new Caption”。

    A.Private Sub Command1_Click() CommonDialog1.DialogTitle="new Caption" CommonDialog1.ShowFont End Sub

    B.Private Sub Command1_Click() CommonDialog1.DialogTitle="new Caption" CommonDialog1.ShowOpen End Sub

    C.Private Sub Command1_Click() CommonDialog1.DialogTitle="new Caption" CommonDialog1.ShowHelp End Sub

    D.Private Sub Command1_Click() CommonDialog1.DialogTitle="new Caption" CommonDialog1.ShowColor End Sub


    正确答案:B
    解析: 可以通过DialogTitle属性设置打开文件刘话框的标题,使用ShowOpen方法设置通用刘话框的类型为打开文件对话框。
    DialogTitle属性指定对话框中标题栏的名称。“打开”对话框默认的标题是“打开”;“另存为”对话框默认的标题是“另存为”。

  • 第5题:

    在窗体中有一个标签Labele,标题为“测试进行中”:有一个命令按钮Commandl,事件代码如下:

    Private Sub Commandl_Click()

    Labele.Caption=“标签”

    End Sub

    Private Sub Form_Load()

    Form.Caption=“举例”

    Commandl.Caption=“移动”

    End Sub

    打开窗体后,单击命令按钮,屏幕显示( )。

    A.

    B.

    C.

    D.


    正确答案:D
    解析: 本题考查控件基本属性和事件的知识。在本题中,窗体开始运行时会首先执行Load事件,将窗体的标题设置为“举例”,命令按钮的标题设置为“移动”;单击命令按钮时会将标签的标题设置为“标签”。