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

Compare with Current View Page History

Version 1 Current »

再利用可能パーツが、フィールドビジュアライゼーション内のダイナミックピックリストの内容をコントロールすることを可能にするインターフェース。
祖先 - なし

詳細


PRIM_DC.IDynamicPicklist は、 Visual Host フィールドの視覚化として機能する再利用可能な部分によって実装されます。
Load は、ピックリストをロードする必要があるたびにメソッドが実行されます。


この例では、 iDynamicPicklist インターフェイスを使用して、使用可能な部門のリストを作成しています。
Function Options(*DIRECT)
Begin_Com Role(*EXTENDS #PRIM_objt *implements #Prim_dc.IDynamicPicklist)
Mthroutine Name(Load) Options(*Redefine)
#Picklist.RemoveAll

  • Read the departments table and add a picklist for each record
    Select Fields(#Deptment #deptdesc) From_File(deptab)
  • Add the item using the department code and description. First item will become the default item
    #Picklist.Add( #Deptment ("&1 (&2)").substitute( #deptdesc #deptment ) #Picklist.Items.IsEmpty )
    Endselect
    Endroutine
    End_Com

    メソッド

    名前

    記述

    Load

    ピックリストがロード中に実行 Picklist

    参照

    すべてのコンポーネント クラス
    テクニカルリファレンス
  • No labels