Setting the enter key for a specified task

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jason Charalambides

    Setting the enter key for a specified task

    Could someone please help me on how I can set the "Enter" key to activate
    one specific task in my form? I have my program arranged in a manner
    similar to the "Display Properties" of the Windows environment, i.e. the
    window that comes up when we right click on our desktop and chose
    "properties ". On every "page" or whatever we call what appears when we
    click on a tab, I always have a "calculate" button. I want that button to
    be the default button that will be activated when I tap my enter button.
    Thank you very much in advance for your help.
    --------------------------------------------
    Jason Charalambides
    The University of Texas
    Dept. of Civil Engineering
    1 University Station C1752
    Austin, TX 78712-0276
    --------------------------------------------


  • Rick Rothstein

    #2
    Re: Setting the enter key for a specified task

    Set the button's Default property to True.

    Rick - MVP


    "Jason Charalambides" <[email protected] u> wrote in message
    news:Ke_cb.2143 0$ah.14801@twis ter.austin.rr.c om...[color=blue]
    > Could someone please help me on how I can set the "Enter" key to activate
    > one specific task in my form? I have my program arranged in a manner
    > similar to the "Display Properties" of the Windows environment, i.e. the
    > window that comes up when we right click on our desktop and chose
    > "properties ". On every "page" or whatever we call what appears when we
    > click on a tab, I always have a "calculate" button. I want that button to
    > be the default button that will be activated when I tap my enter button.
    > Thank you very much in advance for your help.
    > --------------------------------------------
    > Jason Charalambides
    > The University of Texas
    > Dept. of Civil Engineering
    > 1 University Station C1752
    > Austin, TX 78712-0276
    > --------------------------------------------
    >
    >[/color]


    Comment

    Working...