Jumat, 11 Agustus 2017

Re: [MS_AccessPros] Create a slider control

 

Art,

I had never used a slider so it meant some experimenting. 


I created a blank form and dropped the slider control onto it. The Slider name is Slider0. I then added a text box named txtQuality and began playing with the events and properties. It took a couple minutes of messing about in the code to find the slider0 has a click event.  I could then build a little code like:


Private Sub Slider0_Click()
    Me.txtQuality = Me.Slider0.Value
End Sub

From there, I knew the text box has an after update event so I could use:


Private Sub txtQuality_AfterUpdate()
    Me.Slider0.Value = Me.txtQuality
End Sub

If txtQuality is bound, you would use code in the on Current event to set the value of the Slider to the value of txtQuality.


It's all about trying some stuff until you get it right. Some times it's real quick and some times it takes a look through all the events and properties.


Regards,

Duane




From: MS_Access_Professionals@yahoogroups.com <MS_Access_Professionals@yahoogroups.com> on behalf of Art Lorenzini dbalorenzini@yahoo.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com>
Sent: Friday, August 11, 2017 2:02 PM
To: Duane Hookom duanehookom@hotmail.com [MS_Access_Professionals]
Subject: Re: [MS_AccessPros] Create a slider control
 


OK. I found it. Now how do I use it. I need to pass the value that is set to a spinner control or the spinner control to control the placement on the slider bar.  The value that is set will be  used to set the level of quality for an image...

Any example code for a slider bar somewhere??


With Warm Regards,
 
Arthur D. Lorenzini
IT System Manager
Cheyenne River Housing Authority
Wk.(605)964-4265  Ext. 130
Fax (605)964-1070

"Valar Dohaeris"








On ‎Friday‎, ‎August‎ ‎11‎, ‎2017‎ ‎10‎:‎32‎:‎29‎ ‎AM, Duane Hookom duanehookom@hotmail.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:


 

Microsoft has one in the ActiveX controls (Microsoft Slider Control).


Duane Hookom

Minnesota




From: MS_Access_Professionals@yahoogroups.com <MS_Access_Professionals@yahoogroups.com> on behalf of dbalorenzini@yahoo.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com>
Sent: Friday, August 11, 2017 10:23 AM
To: MS_Access_Professionals@yahoogroups.com
Subject: [MS_AccessPros] Create a slider control
 


Is there a way to create a slider control in Access?


Thank you ,


Art Lorenzini

Sioux Falls, Sd





__._,_.___

Posted by: Duane Hookom <duanehookom@hotmail.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (4)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.


.

__,_._,___

Tidak ada komentar:

Posting Komentar