Solved

Slider Control MSaccess on update

Posted on 2009-07-01
7
801 Views
Last Modified: 2013-12-20
The on update does not seem to work on the activex slider control, any clues ?
0
Comment
Question by:hotathens
7 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 125 total points
ID: 24752598
Correct. It doesn't.
Use the Change event instead.
The Change event doesn't show on the properties dialog but you can select it in the code module.
0
 
LVL 39

Expert Comment

by:thenelson
ID: 24752617
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 24752962
peter57r, (thenelson)

<The Change event doesn't show on the properties dialog but you can select it in the code module.>

Any idea why this happens?

I notice that the same thing happens for certain events with the calendar control as well.
(they are available in the VBE, but not in the property box)

Jeff
0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 44

Expert Comment

by:Leigh Purvis
ID: 24760514
The events displayed on the property sheet are those of the container control.
The actual activeX control object sits inside this wherein its properties, methods and events are accessible.
Hence why the proper syntax for assignment of such control use is

Set objCtl = Me.ControName.Object

As for the event, well Change is alright, but I'd say the point of a control such as the slider is to make use of its dynamic movement (if you're going to include the potential burden of ActiveX controls, you might as well let them sing ;-)
Consequently, I'd say the Scroll event is more applicable than Change (which won't be raised as continuously, i.e. smoothly).
For example of the effect I mean - have a look at:
http://www.databasedevelopment.co.uk/examples/colourslide.zip
Cheers.
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 24761929
Thanks
0
 
LVL 77

Expert Comment

by:peter57r
ID: 24762967
I don't think the default behaviour of the slider justifies the use of the term 'scroll'!
(Yes I know you can change it)(:-)
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question