Results 1 to 2 of 2
  1. #1
    Miles R is offline Competent Performer
    Windows 10 Access 2007
    Join Date
    Mar 2019
    Posts
    280

    Active X Scroll Bar properties

    Any one know how to set the Min and Max values of an Active X Scroll bar from VBA?


    I know I can set them in design mode, but in VBA there does not seem to be a Min or Max property in the Intelisense drop down list.
    Maybe it is hidden under another property.

  2. #2
    Miles R is offline Competent Performer
    Windows 10 Access 2007
    Join Date
    Mar 2019
    Posts
    280
    Further to this enquiry, I set the max value using vsbScrollBar.Max from VBA and it seemed to work. Maybe intelisense does not show properties from Active X controls.

    However, next problem is I am trying to move items on my form when the scroll bar is moved, but none of the available events are any good. These are :-
    On Updated, On Enter, On Exit, On Got Focus, On Lost Focus. I was expecting On Updated to trigger when I move the slider, but it is only triggered when I move to another control - since the only other control on the form is Exit Form, this is no good.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 7
    Last Post: 09-02-2016, 03:47 PM
  2. Replies: 2
    Last Post: 09-10-2015, 03:21 PM
  3. Replies: 21
    Last Post: 01-21-2014, 05:04 PM
  4. Replies: 1
    Last Post: 01-11-2014, 12:39 PM
  5. Replies: 6
    Last Post: 12-03-2013, 02:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums