[ |../../index.htm#lansa/lansa050_2270.htm]
現在地: RAMP-TSガイド > スクリプト > 使用方法 > リスト・マネージャー

リスト・マネージャー

スクリプトとインスタンスリストの対話は、objListManager (リスト・マネージャー)というフレームワークのJavaScriptオブジェクトのプロパティにアクセスすることによって行います。   
例えば、社員の詳細を表示する画面を表示するスクリプトでは、SETVALUE コマンドで objListManager を使用して、社員をインスタンスリストで選択されたエントリーに設定します。
 
/* 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);
  
以下も参照してください。
[<span style="color: #0000ee"><span style="text-decoration: underline; ">objListManager</span></span>|lansa050_2465.htm#_Ref130186092]
[<span style="color: #0000ee"><span style="text-decoration: underline; ">ハードコードの社員番号を現在のインスタンスリストのエントリーに置き換える</span></span>|lansa050_2290.htm#_Ref132613943]
 
[ !worddavaf485e25f57cd86bb5b0fc63f3f1b1cc.png|height=32,width=32! |../../index.htm#lansa/lansa050_2270.htm]