ModuleSetScrollPosActive

 

ModuleSetScrollPosActive can make scrolling through the focused module window.

 

void @ModuleSetScrollPosActive(int direction);

 

Parameters

int direction  :  0 -> Left ,  1 -> Top,  2 -> Right,  3 -> Bottom

 

Dscription : If the direction is set to 0, the opened module window moves to the left, and if it is st to 2, the window moves to the right.

 

Examples

Description of the screen configuration

 

1)     Left Button

 

@ModuleSetScrollPosActive(0);

When configured as above, the screen moves to the left of the focused module every time the button is clicked.

 

2)         Top Button

 

@ModuleSetScrollPosActive(1);

When configured as above, the screen moves to the top of the focused module every time the button is clicked.

 

3)         Right Button

 

@ModuleSetScrollPosActive(2);

When configured as above, the screen moves to the right of the focused module every time the button is clicked.

 

4)         Bottom Button

 

@ModuleSetScrollPosActive(3);

When configured as above, the screen moves to the bottom of the focused module every time the button is clicked.

 

Version Information

Supported Version: 10.3.25 or higher

 

Related Helps

@MdiSetScrollPos()

@MdiSetViewRatio()

@MdiGetViewMode()

@MdiSetViewMode()

@ModuleGetViewMode()

@ModuleSetViewMode()

@ModuleGetViewModeActive()

@ModuleSetViewModeActive()

@ModuleSetViewRatio()

@ModuleSetViewRatioActive()

@ModuleSetScrollPos()

@ModuleSetScrollPosActive()

@ModuleSetWindowState()

@MModuleSetWindowStateActive()