Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2013

    Unanswered: Set focus to the record selector?

    I'm switching back and forth between a multi-record form and a single record form (sort of a browse vs view on a single table if anyone is familiar with the old Alpha4). When I switch back to the multi-record form, I set focus on the left-most field on the form; the trouble is that's not quite the left edge of the form.

    Is there any way to set focus on the record selector for a specific row (since that is at the left edge of the form)? Alternatively, is there any way to force the horizontal scroll bar all the way to the left (automatically from within the code)?
    Last edited by wingram; 01-17-13 at 18:21.

  2. #2
    Join Date
    Jun 2005
    Richmond, Virginia USA
    Provided Answers: 19
    The Record Selector is not an object that you can set Focus on, to my knowledge. But the prolific hackmeister, Stephen Lebans, has a method of getting/setting the position of Scrollbars:


    Have never used it, but Lebans hacks have been used successfully, by many, many developers, for years now!

    Linq ;0)>
    Hope this helps!

    The problem with making anything that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

Tags for this 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