TOC : OZ e-Form Extension > OZ e-Form JavaScript API > Input > TextBox > Method >

 

EnsureVisible

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

TOC : OZ e-Form Extension > OZ e-Form JavaScript API > Input > TextBox > Method >

 

EnsureVisible

 

 

Scroll until you see the component on the screen to adjust.

 

 

 

Prototype :

 

void EnsureVisible

(

       [ bool MainScreen ]

)

 

 

 

Arguments :

 

MainScreen

true for main screen

If not set, applies as true

 

 

 

Reference :

 

If the component is not in the current page, move to the page that displays the component and scroll until you see the component on the screen to adjust.

If you want to set the focus on the sub-screen in a multi-screen environment, set the MainScreen argument value to false.

 

 

 

Example :

 

var objComp = This.GetInputComponent("TextBox1");

objComp.EnsureVisible(true);

 

 

 

Available Events :

 

OnFocus,  OnKeyReturn,  OnKillFocus,  OnValueChanged