+ Reply to Thread
Results 1 to 3 of 3

Thread: Changing text box with the press of "Enter Key"

  1. #1

    Default Changing text box with the press of "Enter Key"

    Hi Guys,

    I want to run a function In which I'd make "Enter" key which will move to next text/button.

    Any help would be appreciated.

  2. #2
    Ruby Star member nobita_deptrai is on a distinguished road
    Join Date
    Jun 2011
    Posts
    458

    Default

    This example shows how to detect when the Enter key is pressed on the keyboard.
    when the user presses the Enter key in the TextBox, the input in the text box appears in another area of the user interface (UI).

    The following C# creates the user interface, which consists of a StackPanel, a TextBlock, and a TextBox.
    private void OnKeyDownHandler(object sender, KeyEventArgs e)
    {
    if (e.Key == Key.Return)
    {
    textBlock1.Text = "You Entered: " + textBox1.Text;
    }
    }
    BDS Real Estate Company
    Go to my website rao vat ban nha to learn about real estate in Vietnam: Home sales , Apartment for sale, Feng Shui ...

  3. #3

    Default

    Thanks for information......may i know how to get database results in php.??

+ Reply to Thread

Posting Permissions

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