You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Script interactions with an instance list are done by accessing properties of the Framework JavaScript object named objListManager (the list manager).  
For example a script that displays a screen showing the details of an employee uses the objListManager in the SETVALUE command to set the employee to the selected entry in the instance list:
 
/* Check for arrival at uFindEmployee / if ( !(CHECK_CURRENT_FORM("uFindEmployee","Unable to navigate to form uFindEmployee")) ) return; / Set the employee to be displayed to the employee selected in the / / instance list (which is identified by the programmatic identifier AKey3) / *SETVALUE("utxtEmployeeCode",objListManager.AKey3[0]); /* Send the key required to navigate to uDisplayEmployee */ SENDKEY(KeyEnter);
  
Also See
[<span style="color: #0000ee"><span style="text-decoration: underline; ">objListManager</span></span>]
[<span style="color: #0000ee"><span style="text-decoration: underline; ">Replacing Hardcoded Employee Number with Current Instance List Entry</span></span>]
 
[<span style="color: #0000ee"><span style="text-decoration: underline; ">Show Contents List</span></span>|../../index.htm#lansa/lansa050_2270.htm]

  • No labels