Jump to content

scroll position


Javi

Recommended Posts

Hello

 

I have a form with autoscroll to true.

 

How I can get the scroll up at all?

 

Thanks

 

-------------------------------------------

 

Hola

 

Tengo un formulario con autoscroll a true.

 

¿Cómo yo puedo poner el scroll arriba del todo?

 

Gracias

Link to comment
Share on other sites

Great. Thanks for update.

 

Yes Body is the correct target. I tried it on Form "el" and it didn't work.

 

FYI here is the JS equivalent:

 

MainForm.form.body.scrollTo('top', 0);

 

Works for me

 

 MainForm.Form.Body.ScrollTo ('Top', 0); 

 

UniServerModule > MainFormDisplayMode = mfPage

MainForm > AutoScroll = True

 

------------------------------------

 

A mi me funciona

 

MainForm.Form.Body.ScrollTo('Top', 0);

 

UniServerModule > MainFormDisplayMode = mfPage

MainForm > AutoScroll = True

Link to comment
Share on other sites

  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...