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

Compare with Current View Page History

Version 1 Next »

[ |../../index.htm#lansa/vlwebeng02_0135.htm]
現在地:

ウィジェットのメソッド定義

すべてのメソッドには、対応する JavaScript 関数があり、パラメータ数も一致しています。ですから、Insert メソッドには Insert 関数が存在します。次の例では、引き渡された 2 つの値がデータ・テーブル値を埋めるために使用されています。
PROTOTYPE.Insert = function( Value, Caption )
{   
  var index = this.m_DataTable.addRow( [Caption, Value ] );
 
  this.DrawChart();
  return index;
}
 
[ |../../index.htm#lansa/vlwebeng02_0135.htm]

  • No labels