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/l4wdev07_0075.htm]
現在地:

2.29.1.13 ActiveXコレクションを操作する構文に関する重要な注意

ActiveXコンポーネントのコレクションをRDMLXで操作する場合、キーワード「item」を使う必要があります。例えば文書をアクティブ化するという操作を、Word VBAでは次のように記述します。
Documents("test.doc").activate
 
これがRDMLXでは次のようになります。
invoke method(#wordapp.documents.item<'test.doc'>.activate)
 
次の点にも注意してください。

  • コレクションにおける括弧には、通常の括弧ではなく、不等号の組(<>)を使用します。
  • 二重引用符は一重引用符に置き換えます。

[ |../../index.htm#lansa/l4wdev07_0075.htm]

  • No labels