Versions Compared

Key

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

実行時にタブ・アイテムの属性を動的に上書きする際に使用するWEB_MAPに指定された作業リスト名

作業リストを使用すると、以下の属性の1つ以上を上書きできます。

The name of a working list specified in the web_map that will be used to dynamically override attributes of the tab items at run-time. Using the working list you can override any one or more of the following attributes:

...

  • タブのキャプション (作業リストのフィールド名をcaption_fieldプロパティに指定)
  • タブのイメージ (作業リストのフィールド名をimage_fieldプロパティに指定)
  • タブ選択時のイメージ (作業リストのフィールド名を
  • selected_image_field

...

  • プロパティに指定)

...

...

  • タブの非表示 (作業リストのフィールド名をhide_if_true_field

...

  • プロパティに指定)

...

...

  • タブの無効化 (作業リストのフィールド名をdisable_if_true_field

...

  • プロパティに指定)

...

To use this feature you must specify a working list in your web_map (for *OUTPUT or *BOTH) that contains one or more fields corresponding to one or more of the attributes above that you wish to override. The RDML code in the webroutine should populate the list with the number of entries corresponding to the number of tab items with field values set as described for each of the properties mentioned above.

Note
Note: You still need to use the tab items designer to create the required number of tab items and to set any attributes of the tab items that are not specified in the working list. Refer to Using the menu item designer for more information.

Default value

Blank – no working list is used to override attributes of the tab items at run time. The tabs are displayed as defined in the tab items designer.

Valid values

The name of a working list specified in the web-map for the WebRoutine. A list of available working lists can be selected from by clicking the corresponding dropdown button in the property sheet.

Example

...

この機能を使用するには、上書きする上記の1つ以上の属性に対応する1つ以上のフィールドを含む作業リストをWEB_MAPで( *OUTPUT もしくは *BOTHで)指定する必要があります。WebroutineのRDMLプログラムで、タブ・アイテムの数と同じだ数のエントリーでリストを埋めていきます。その際、フィールド値が上記に示される各プロパティに設定されている必要があります。

Note

注意:必要な数のタブアイテムを作成して、作業リストに指定されていないタブ・アイテムの属性を設定するためには、タブ・アイテム・デザイナを使用する必要があります。詳しくは、「メニュー・アイテム・デザイナの使用」を参照してください。

デフォルト値

ブランク - 実行時にタブ・アイテムの属性を上書きする作業リストは使用されません。タブはタブ・アイテム・デザイナで定義されたとおりに表示されます。

有効値

WebroutineのWEB_MAPに指定された作業リスト名

使用可能な作業リストの一覧は、プロパティシートの対応するドロップダウン・ボタンをクリックすることで、選択することができます。

この例では、実行時にタブ・アイテムの特定の属性を上書きするために、A10TABSという名前の作業リストが使用されます。各タブ・アイテムの上書きする値を含んだフィールド名は、caption_fieldimage_field、 selected_image_fieldhide_if_true_field

...

disable_if_true_field

...

の中の1つ以上のプロパティに指定されなければいけません。

Image Modified