Page 1 of 1

(RPG) Offline : /Form.OnLoad Operation

Posted: Fri Mar 27, 2015 12:43 pm
by rdevost
Hi,

Would like to ask how many '/Form.OnLoad.Operation' statements can I execute in a program? I know OnLoad occurs when the form opens for the first time. But if I have two or more calculations that I want to do (as it opens for the first time) (e.g. one ECL script and one PerformAction), can I issue two or more '/Form.OnLoad.Operation' statements? Or am I limited to just one?

Thanks!

Rocel

Re: (RPG) Offline : /Form.OnLoad Operation

Posted: Tue Mar 31, 2015 7:53 am
by tsupartono
You can only have one operation associated with the OnLoad event, however you can have many operations performed in ExecScript operation.
So in effect, you have the ability to perform many operations on your OnLoad event.

Have a look at the "Extended Client Logic - Executing Multiple Operations" section in your "LongRange RPG Offline Advanced Tutorials" guide.

Re: (RPG) Offline : /Form.OnLoad Operation

Posted: Thu Apr 09, 2015 10:38 am
by rdevost
Thanks Tony for the feedback.