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


ScrollTo added to SetCurrent() - Force your document to scroll with programming (Ver. 8.5.0.2096)

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

ScrollTo added to SetCurrent() - Force your document to scroll with programming (Ver. 8.5.0.2096)

Download Sample!

Even though we are getting close to DataEase 8.5 Production release, the development don't stop and honestly speaking, release will not signify anything different than what it say. DataEase 8.5 being released for production use. 

We will keep on adding functionality to it all the way up to Production release and beyond.

Anyway, this latest addition is about Document control.

it might not come as a surprise to those of you that has followed the latest additions like Timer(Event) and GetCurrent() additions and SetCurrent() itself.

This addition to SetCurrent() is to give you control of the scrolling of your document.

We have added a simple sample that will show you how it is done, and we also show you how to use WildCard in MobeObject() to move the menu. 

You can read more about SetCurrent("ScrollTo","Xpos","Ypos") on the help page.

SetCurrent("ScrollTo","Xpos","Ypos")

This will force the active window to scroll either absolute or relative to the current position, it will scroll both in x and y position.

Xpos:

Absolute: any number will scroll window to this position in X-direction - 0,100,200
Relative: + or - in front of number will scoll relative to current postion: +20 - 100. If you want position to stay the same use +0.
Predefined: L,R,C - This will scroll active Window all the way to Left, Right or Center it.

Ypos:

Absolute: any number will scroll window to this position in Y-Direction - 0, 50, 250
Relative: + or - in front of number will scoll relative to current postion: +20 - 100. If you want position to stay the same use +0.
Predefined: T,R,B - This will scroll active Window all the way to Top, Bottom or Center it.


Written by DataEase 08/01/16 at 14:24:52 Dataease [{8}]FIVE