Easy to Create, Easy to Change - Easy to use!


Extension to GetCurrent() Find the xpos/ypos of the scrolled window (upper left corner) (Ver. 8.5.0.2096)

Started by DataEase
You will need to Sign In to be able to comment on the Blog!

Extension to GetCurrent() Find the xpos/ypos of the scrolled window (upper left corner) (Ver. 8.5.0.2096)

Download Sample



We have extended the sample used in the previous post to include a Timer(Event) that report the current Documents Scrolled position.

We simply put this code on the Timer(Event) of the Document ScrollTest.

And this should showcase the new functionality to a point:

GetCurrent("ViewXPos") and GetCurrent("ViewYPos")

you can use this to see if the document is scrolled and how much, you can based on this scroll it back to top after a certain time of inactivity etc.

It also showcase how useful timer is to trigger activity not triggers by user interaction.

To be honest, I find that it is the most useful "debugging" tool ever. You can put anything on the timer event and them simply report it on the Status line as you progress through your form.

Cool!


Written by DataEase 08/01/16 at 15:37:13 Dataease [{8}]FIVE