Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

default command button property

madhav_vgmadhav_vg Member Posts: 1
how to make a command button a default in VB.NET

Comments

  • btsebbtseb Member Posts: 67
    : how to make a command button a default in VB.NET
    :
    [blue]When the IsDefault property is set to true, the button is the default button for the Form. This means that the button is clicked when the ENTER key is pressed if no other button or any other control that captures the ENTER key has focus.

    To specify the default button of a form, set the AcceptButton property of the form to the desired button.[/blue]

Sign In or Register to comment.