Start event after form has loaded

Questions, tips and tricks and techniques for scripting in Servoy

Start event after form has loaded

Postby vlad_chiru » Thu Jul 18, 2013 3:48 pm

Hi all,

Please tell me if there is a way to start an event on a form after the form has loaded (document.ready equivalent). I'm creating an API call to retrieve user tweets, but when I'm calling the method is slows the loading of the user details form a lot..

Thanks
vlad_chiru
 
Posts: 3
Joined: Mon Jul 01, 2013 11:47 am

Re: Start event after form has loaded

Postby rgansevles » Wed Jul 24, 2013 5:34 pm

vlad_chiru,

We have the form.onLoad event handler.
But I guess what you want is background processing.
You could use the headless client plugin, it will run code in a separate client and calls a callback function when done.

Rob
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1927
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL


Return to Methods

Who is online

Users browsing this forum: No registered users and 9 guests

cron