KB-13164: Scrollbar linked to a Browser.

Question:

How can I configure a scrollbar linked to a Browser to roll the data being displayed on screen?

Solution:

To do so, you must insert a Slider object and on its Tags tab, link it to the Browser’s CurSel property. In the Slider’s OnLButtonDown event, you must pass its range limits according to the maximum and minimum number of registers existing on the Browser.

For example:

Browser1.UpdateQuery()
Slider1.rangeMaximum=Browser1.firstRec
Slider1.rangeMinimum=Browser1.lastRec

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Leave a Reply

Your email address will not be published.Required fields are marked *