JSlider for scrolling through records

I am trying to use a JSlider for quick scrolling through a database of about 100,000 records. I have tried a few things but I think I am going in the wrong direction. In particular I would like to know how to make the JSlider call a method when it is changed.

Thanks,
Chad

Chad,

I have also been having similar problems implementing the JSlider. I put a post on here months ago, and still havent had any reply.

Simon

Hi Guys,

Servoy did NOT write the beans - and there is loads of documentation on the web for the included beans.

All beans beginning with “J” (JSlider, etc) came from Sun. Most of the other beans came from the IBM FreeWare project “AlphaBeans”.

Hope this helps,

Bob Cusick

I am just curious how to make this or any bean execute a servoy method.

I want to reactivate this thread – has anyone made jSlider work to move through records in Servoy – can you post sample code? pretty please? :)

I have been watching this thread for a while, I have still yet to work out how to activate methods using the jslider. I can get the jslider working with my own java programs, but the theory does not apply when I try to get it to work within servoy.

I think there is enough interest in this topic for someone to justify putting an article in the servoy magazine!

Its not essential at the moment to my solution, but I would like to add this feature at some stage…so someone, please help :-)

simon:
I can get the jslider working with my own java programs, but the theory does not apply when I try to get it to work within servoy.

So I understand you develop java applications.
Can’t you make it so that it triggers a method?
Then in that method you can let it set the selected index of a foundset (or let it do whatever)
You can take the Tree View plugin as example.

To others reading this thread.
All the beans available (not Servoy Plugins) can only be ‘talked to’, They don’t ‘talk back’.
In other words you can’t attach methods to their events.
Unless someone uses that bean to create a Servoy plugin, maybe Simon?