Cursor Moves when displaying picture

  • Thread starter Thread starter TallRey
  • Start date Start date
T

TallRey

I have an image box called ImageBoxon a form. On Form Current, I execute the
following code:
Form.ImageBox.Picture = PicturePath
Form.ImageBox.Visible = True
When I go to the navigation buttons and press next record, the cursor moves
to the top of the imagebox. Is there a way to either preventing it from
moving or finding out where the cursor had been (note it was not on a
control) and then putting it back?
It is very annoying as I browse through the records to have to continually
move the cursor back to the "next Record" navigation button.
 
TallRey,

I don't think the VBA procedure (which, incidentally, is not a macro)
that you have running on the Current event of the form, is related at
all to the problem.

As far as I am aware, this is standard functionality. The focus does
not stay on the navigation buttons. If you wanted to control where the
focus goes, then you could do so, to one of the other enabled controls
on the form.
 
Back
Top