Results 1 to 8 of 8
  1. #1
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Cornwall, England
    Posts
    393
    Thanks
    0
    Thanked 0 Times in 0 Posts

    pointer moves when you go to next record (access 97)

    can anyone tell me why the cursor jumps when the next record / previous record buttons are pressed please ?

    it seems to go nowhere in particular and it doesnt matter whether you use the record selectors or the command buttons added afterwards

    if the cursor remains on the button, after it is clicked then please let me know.

    thanks
    <img src=/S/hairout.gif border=0 alt=hairout width=31 height=23>
    Attached Files Attached Files

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: pointer moves when you go to next record (access 97)

    I downloaded your database. I entered the path of some pictures on my HD. It seems to work fine.

    If I use the navigation button at the bottom, the focus returns to whatever control had the focus before I clicked the navigation button.
    If I use the Next or Previous command button, focus stays on that button.

    Regards,
    Hans

  3. #3
    Silver Lounger
    Join Date
    Jun 2002
    Location
    Cheadle, Staffordshire
    Posts
    2,177
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: pointer moves when you go to next record (access 97)

    I tried the same and found the same as Hans.
    The focus stays on the button.
    Did you want the cursor to go some-where in particular for editing data etc..

    See the below code, Ive added a setfocus under the next statement.

    DoCmd.GoToRecord , , acNext
    Me.imgDesc.SetFocus

    When entering into ImgDesc after pressing the button the whole text will be highlited and easily deleted so go to the On-Enter property and type the following in an event procedure:-

    Me.ImgDesc.SelLength = Me.ImgDesc.SelStart.

    Dave

  4. #4
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Cornwall, England
    Posts
    393
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: pointer moves when you go to next record (access 97)

    Guys, not the cursor that you can move with the Tab button, the mouse pointer. does that get moved to a place in the middle, right of the form ????

  5. #5
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: pointer moves when you go to next record (access 97)

    No, the mouse cursor stays right where it is.

    Very briefly, I see a dialog box with a progress bar and a message about importing an image. It disappears so quickly that I can't really read it; for small files it hardly becomes visible.

  6. #6
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Cornwall, England
    Posts
    393
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: pointer moves when you go to next record (access 97)

    OK, i have 'auto jump' or whatever turned on to move my mouse pointer to a button with the focus. this dialog box must have such a button. I have never seen it, the mouse pointer just moves. any idea what dialog it would be and can it be turned off like the setwarnings command ?

  7. #7
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: pointer moves when you go to next record (access 97)

    The Access Web gives two methods to suppress the Loading Image dialog here. I haven't tried them myself. I'm not fond of setting OnTimer events with short timer intervals.

  8. #8
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Cornwall, England
    Posts
    393
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: pointer moves when you go to next record (access 97)

    brilliant, 4 registry changes and the problem is gone.

    thanks very much

Posting Permissions

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