在Android中,对话框内哪个是“确定”按钮?()A、set Negative Button()B、set Neutral Button()C、set Positive Button()D、set Neutraled Button()

题目

在Android中,对话框内哪个是“确定”按钮?()

  • A、set Negative Button()
  • B、set Neutral Button()
  • C、set Positive Button()
  • D、set Neutraled Button()

相似考题
更多“在Android中,对话框内哪个是“确定”按钮?()A、set Negative Button()B、set Neutral Button()C、set Positive Button()D、set Neutraled Button()”相关问题
  • 第1题:

    Button按钮控件


    正确答案: 用于执行执行确认等任务,一般在单击事件中编写一些要执行的代码,在网页运行期间单击按钮时会自动产生回发。

  • 第2题:

    import java.awt.*;  import java.applet.*;  public class ButtonDemo extends Applet{   public void init()  {    Button pushBotton=new Button(“ok”);    Button downBotton=new Button(“Yes”);     add(pushBotton);     add(downBotton);   } }  根据以上代码,下列结束正确的是()

    • A、该代码画了一个按钮
    • B、Button(“ok”)创建一个有显示”ok”的按钮
    • C、Button()是构造函数
    • D、按钮属于容器

    正确答案:B,C

  • 第3题:

    在Java中,下列代码段允许按钮注册一个action事件的是()。

    • A、button.enableActionEvents();
    • B、button.addActionListener(anActionListener);
    • C、button.enableEvents(true);
    • D、button.enableEvents(AWTEvent.ACTION_EVENT_MASK);

    正确答案:B

  • 第4题:

    A user cannot undock a laptop from the docking station. Which of the following is the MOST likely cause?()

    • A、The laptop is not turned off
    • B、The power cable is not unplugged
    • C、The lock button is set to lock
    • D、The ACPI settings are configured improperly

    正确答案:C

  • 第5题:

    Which statement is true about mouse events? ()

    • A、The cursor style can be set to CAUTION. 
    • B、Double-clicking a mouse button can potentially fire six mouse event triggers. 
    • C、The values for the SYSTEM.MOUSE_BUTTON_PRESSED system variable can only be 1 or 2. 
    • D、Click and double-click button actions can only detect if the mouse is positioned in an item.

    正确答案:B

  • 第6题:

    You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You create a Button control for the application. You need to ensure that the application meets the following requirements: When the mouse pointer is over the Button control, the background color of the button is set to red and the Button control appears bigger. When the mouse pointer is not over the Button control, the button returns to its original state. What should you do?()

    • A、 Create a template. Declare a VisualState element in the template.
    • B、 Create a StoryBoard animation. Add an EventTrigger class to the Button control that begins the StoryBoard animation.
    • C、 Create a ScaleTransform class. Bind the ScaleX and ScaleY properties of the Button control to the Background property by using a custom value converter.
    • D、 Add a method named ChangeAppearance in the code-behind file. Subscribe the ChangeAppearance method to the MouseEnter event of the Button control.

    正确答案:A

  • 第7题:

    You are developing a user control for Windows Presentation Foundation (WPF) application. The user control contains a button. Both the user control and the hosting control must receive the button click event. You need to ensure that the user control responsd to the button click event before hosting control responds to the event. What should you do ?()

    • A、 Use a bubbling routed event. In the button click event handler, set the Handled property to True
    • B、 Use a bubbling routed event. In the button click event handler, set the Handled property to False
    • C、 Use a standard Microsoft .NET event. Set Handled property to true.
    • D、 Use a tunneling routed event. Set the handled property to false.

    正确答案:B

  • 第8题:

    单选题
    在Java中,下列代码段允许按钮注册一个Action事件的是()
    A

     Button.enableActionEvents()

    B

     Button.addActionListener(anActionListener)

    C

     Button.enableEvents(true)

    D

     Button. enableEvents (AWTEvent.Action_EVENT_MASK)


    正确答案: B
    解析: 暂无解析

  • 第9题:

    单选题
    You are developing a user control for Windows Presentation Foundation (WPF) application. The user control contains a button. Both the user control and the hosting control must receive the button click event. You need to ensure that the user control responsd to the button click event before hosting control responds to the event. What should you do ?()
    A

     Use a bubbling routed event. In the button click event handler, set the Handled property to True

    B

     Use a bubbling routed event. In the button click event handler, set the Handled property to False

    C

     Use a standard Microsoft .NET event. Set Handled property to true.

    D

     Use a tunneling routed event. Set the handled property to false.


    正确答案: A
    解析: 暂无解析

  • 第10题:

    单选题
    在Android中,对话框内哪个是“确定”按钮?()
    A

    set Negative Button()

    B

    set Neutral Button()

    C

    set Positive Button()

    D

    set Neutraled Button()


    正确答案: D
    解析: 暂无解析

  • 第11题:

    单选题
    You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You create a Button control for the application. You need to ensure that the application meets the following requirements: When the mouse pointer is over the Button control, the background color of the button is set to red and the Button control appears bigger. When the mouse pointer is not over the Button control, the button returns to its original state. What should you do?()
    A

     Create a template. Declare a VisualState element in the template.

    B

     Create a StoryBoard animation. Add an EventTrigger class to the Button control that begins the StoryBoard animation.

    C

     Create a ScaleTransform class. Bind the ScaleX and ScaleY properties of the Button control to the Background property by using a custom value converter.

    D

     Add a method named ChangeAppearance in the code-behind file. Subscribe the ChangeAppearance method to the MouseEnter event of the Button control.


    正确答案: D
    解析: 暂无解析

  • 第12题:

    单选题
    A user cannot undock a laptop from the docking station. Which of the following is the MOST likely cause?()
    A

    The laptop is not turned off

    B

    The power cable is not unplugged

    C

    The lock button is set to lock

    D

    The ACPI settings are configured improperly


    正确答案: D
    解析: 暂无解析

  • 第13题:

    Yuri created a formula for a button. The code is supposed to set the value of an existing field called title. He used the following formula: title:= @propercase (title); after the foumula runs ,the title field is null. Why? ()

    • A、the value of one field cannot be set from the value in another field 
    • B、the text string in the formula is set to null. Thus notes cannot validate the formula 
    • C、when setting the value of a field , the formula must be in the field‟s input validation event 
    • D、the formula does not specify that title is an existing field. Thus it is interpreted as a temporary variable 

    正确答案:D

  • 第14题:

    以下关于jQuery点击事件正确的是()。

    • A、$(’button’).onclick()
    • B、$(’button’).onclick(function(){})
    • C、$(’button’).on(’click’,function(){})
    • D、$("button").click(function(){})

    正确答案:C,D

  • 第15题:

    在JAVA中,下列()代码段允许按钮注册一个action事件。

    • A、button.enableActioinEvents();
    • B、button.addActionListener(anActionListener);
    • C、button.enableEvents(true);
    • D、button.enableEvents(AWTEvent.ACTION_EVENT_MASK);

    正确答案:B

  • 第16题:

    Examine the exhibit to view the parameters set in your parameter file. (Click the Exhibit(s) button.) You restart the instance. To what value will the MEMORY_MAX_TARGET parameter be set by default?()

    • A、120M
    • B、320M
    • C、480M
    • D、600M

    正确答案:D

  • 第17题:

    You create a Web Form that contains a button named btnCancel that enables users to exit the page. When users click this button, validation must not occur. During testing you learn that clicking the Cancel button does not enable users to exit the page. You need to ensure that users can always exit the page. What should you do?()

    • A、Set the Enabled property of the validation controls on the Web Form to False.
    • B、Set the CausesValidation property of the btnCancel button to False.
    • C、Set the CausesValidation property of the btnCancel button to True.
    • D、Set the Visible property of the validation controls on the Web Form to False.

    正确答案:B

  • 第18题:

    You are creating a custom user control. The custom user control will be used on 10 Web Forms for an ASP.NET Web site that allows users to register and log on to a personalized experience. The custom user control uses two TextBox controls and two Button controls. You need to ensure that the controls are visible only when users are not logged on to the Web site. You also need to minimize the amount of effort in development and maintenance for the Web site. Which two actions should you perform? ()

    • A、Add the OnClick event handler for the Login button to the code used in the custom user control.
    • B、Add the OnClick event handler for the Login button to the code used in the Web Form where the control is added.
    • C、In the Page_Load method of the Web Form, add a code segment to set the visibility of the TextBox and Button controls where the control is added.
    • D、In the Page_Load method of the custom user control, add a code segment to set the visibility of the TextBox and Button controls.

    正确答案:A,D

  • 第19题:

    单选题
    Which statement is true about mouse events? ()
    A

    The cursor style can be set to CAUTION. 

    B

    Double-clicking a mouse button can potentially fire six mouse event triggers. 

    C

    The values for the SYSTEM.MOUSE_BUTTON_PRESSED system variable can only be 1 or 2. 

    D

    Click and double-click button actions can only detect if the mouse is positioned in an item.


    正确答案: B
    解析: 暂无解析

  • 第20题:

    多选题
    以下关于jQuery点击事件正确的是()。
    A

    $(’button’).onclick()

    B

    $(’button’).onclick(function(){})

    C

    $(’button’).on(’click’,function(){})

    D

    $(button).click(function(){})


    正确答案: D,A
    解析: 暂无解析

  • 第21题:

    单选题
    You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You create a window that contains a Button control and a MenuItem control. Both controls are labeled "Add sugar." The Command properties of the Button and MenuItem controls are set to the same RoutedCommand named AddSugarCommand. You write the following code segment. private void CanAddSugar (object sender, CanExecuteRoutedEventArgs e) { ... } You need to ensure that when the CanAddSugar method sets e.CanExecute to false, the MenuItem and Button controls are disabled. What should you do?()
    A

     Create an event handler for the CanExecuteChanged event of the AddSugarCommand command.   Call the CanAddSugar method from within the event handler.

    B

     Inherit the AddSugarCommand from the RoutedUICommand class instead of the RoutedCommand class.   Call the CanAddSugar method from within the constructor of the AddSugarCommand command.

    C

     Add a CommandBinding object to the CommandBinding property of the MenuItem control.   Set the CanExecute property of the CommandBinding object to the CanAddSugar method. 

    D

     Add a CommandBinding object to the CommandBindings property of the window.   Set the Command property of CommandBinding to the AddSugarCommand command.   Set the CanExecute  property of the CommandBinding object to the CanAddSugar method.


    正确答案: C
    解析: 暂无解析

  • 第22题:

    多选题
    You are creating a custom user control. The custom user control will be used on 10 Web Forms for an ASP.NET Web site that allows users to register and log on to a personalized experience.The custom user control uses two TextBox controls and two Button controls.You need to ensure that the controls are visible only when users are not logged on to the Web site. You also need to minimize the amount of effort in development and maintenance for the Web site. Which two actions should you perform?()
    A

    Add the OnClick event handler for the Login button to the code used in the custom user control.

    B

    Add the OnClick event handler for the Login button to the code used in the Web Form where the control is added.

    C

    In the Page_Load method of the Web Form, add a code segment to set the visibility of the TextBox and Button controls where the control is added.

    D

    In the Page_Load method of the custom user control, add a code segment to set the visibility of the TextBox and Button controls.


    正确答案: D,B
    解析: 暂无解析

  • 第23题:

    单选题
    对话框中有几个默认Button,()代表是确定按钮。
    A

    PositiveButton

    B

    NegativeButton

    C

    NeutralButton

    D

    OKButton


    正确答案: D
    解析: 暂无解析