Results 1 to 2 of 2

Thread: Default button in an web site

  1. #1
    Junior Member
    Join Date
    Apr 2005
    Brownhills, UK

    Default button in an web site

    Being new to this web design thing, I am sorting problems as they arise.

    Current problem...

    I have a login screen to restrict access to certain pages, two fields on screen username and password, two buttons, login and cancel.

    I want to make the login button the default button in the event of return being pressed.


    I can't seem to find a solution, there has to be one, every one else is doing it!!


    (aka fatboy, twister)

  2. #2
    Security Intelligence TZ Veteran cash_site's Avatar
    Join Date
    Jul 2002
    Software Paradise
    It is a property set on you form design... are you using an IDE such as Visual Studio? Check the properties of the form or even the button. I think the property name is called "Accept = CMD_OK" and assign it to your "Button Name"

    --- 0wN3D by 3gG ---

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts