Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Webページにプッシュ・ボタンを追加するには、以下の手順に従ってください。

  1. [ウェブレット テンプレート]タブをクリックし、上にあるドロップダウン・リストから[標準ウェブレット]を選択、[Push Button]ウェブレットを探します。
  2. 必要なウェブレットをWebページにドラッグ・アンド・ドロップしてください。[詳細]タブをクリックします。
  3. ボタンに表示されるテキストをcaption に設定します。イメージ付きのプッシュ・ボタンの場合は、image プロパティに適切な値を設定します。左側のイメージと右側のイメージが設定できます。
  4. ボタンがクリックされたときに呼び出されるWebroutineの名前をon_click_wrnameプロパティに設定します。このWebroutineが現在のWebroutineと異なるWAMにある場合は、on_click_wamnameプロパティも設定しなければなりません。

To add a push button to your web page:

  1.  Click on the Weblets tab, select Standard Weblets from the drop-down list near the top and locate either of the Push Button weblets.
  2.  Drag and drop the required weblet onto the web page. Click on the Details tab.
  3.  Set the caption to specify the text to be displayed on the button. In the case of the Push Button with Images, set the appropriate image properties. A left-hand side image and a right-hand side image can be set.
  4.  Set the on_click_wrname properties to the name of the webroutine to be invoked when the button is clicked. If the webroutine is in a different WAM to the current webroutine then you will also need to set the on_click_wamname property.