+ Reply to Thread
Results 1 to 3 of 3

[SOLVED] simulate a enter key behaviour?

Hybrid View

Guest [SOLVED] simulate a enter key... 06-17-2005, 10:05 AM
Guest Re: simulate a enter key... 06-17-2005, 10:05 AM
Guest RE: simulate a enter key... 06-17-2005, 10:05 AM
  1. #1
    Liedson31
    Guest

    [SOLVED] simulate a enter key behaviour?

    Hi everyone

    i don´t know if this is possible.
    i have a group of textboxes that on tab/enter key the cursor moves to the
    next box.
    my problem is that i have a group of frames and i want that on
    me.textboxgroup in frame1 the cursor "move" to me.textboxgroup on frame2.

    i have made:
    while flag=0
    if isntr(me.textboxgroup.name,"BOX")=0
    '-----here is the code i want for keycode=enter and jump to the private sub
    textbox_keypress() again - to jump for the next textbox

    wend

    is this possible, to simulate a enter key and jump to the keypress sub???

    thanks very much
    Miguel



  2. #2
    shin
    Guest

    Re: simulate a enter key behaviour?



    SendKey "{ENTER}"

    Shinya

    "Liedson31" <Liedson31@discussions.microsoft.com> wrote in message
    news:29A3323B-37AD-46C8-AF2D-1FB6C2FC3B5B@microsoft.com...
    > Hi everyone
    >
    > i don$B!-(Bt know if this is possible.
    > i have a group of textboxes that on tab/enter key the cursor moves to the
    > next box.
    > my problem is that i have a group of frames and i want that on
    > me.textboxgroup in frame1 the cursor "move" to me.textboxgroup on frame2.
    >
    > i have made:
    > while flag=0
    > if isntr(me.textboxgroup.name,"BOX")=0
    > '-----here is the code i want for keycode=enter and jump to the private
    > sub
    > textbox_keypress() again - to jump for the next textbox
    >
    > wend
    >
    > is this possible, to simulate a enter key and jump to the keypress sub???
    >
    > thanks very much
    > Miguel
    >
    >




  3. #3
    galimi
    Guest

    RE: simulate a enter key behaviour?

    Miguel,

    You can use the SendKeys method to send a carriage return
    --
    http://HelpExcel.com
    1-888-INGENIO
    1-888-464-3646
    x0197758


    "Liedson31" wrote:

    > Hi everyone
    >
    > i don´t know if this is possible.
    > i have a group of textboxes that on tab/enter key the cursor moves to the
    > next box.
    > my problem is that i have a group of frames and i want that on
    > me.textboxgroup in frame1 the cursor "move" to me.textboxgroup on frame2.
    >
    > i have made:
    > while flag=0
    > if isntr(me.textboxgroup.name,"BOX")=0
    > '-----here is the code i want for keycode=enter and jump to the private sub
    > textbox_keypress() again - to jump for the next textbox
    >
    > wend
    >
    > is this possible, to simulate a enter key and jump to the keypress sub???
    >
    > thanks very much
    > Miguel
    >
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1