PRIM_LIST.PartCurrentItemクラス (PRIM_LIST.PartCurrentItem)

現在のリストアイテム用の再利用可能パーツへのアクセスを提供します

祖先 - PRIM_LIST.CurrentItemクラス (PRIM_LIST.CurrentItem) オブジェクト (PRIM_OBJT)

詳細

Prim_List.Part は、 典型的なフィールドベースのセルではなく、再利用可能な部分のインスタンスを表示するために使用される List 内の列です。

各列型には、列内の個々のエントリへのアクセスを提供する対応する Column クラスがあります。

他のビジュアル LANSA リストと同じ方法で、列の現在の項目を使用して、各項目の再利用可能な部分に個別にアクセスすることができます。 

パーツ列は、再使用可能なパーツがリストにドロップされるたびに作成されます。Design プロパティが使用されている一部のクラスを定義します。

リユーザブル部分で使用される *ListFields パラメータは、列のデータフィールドを定義します。

この例では、単純な部分は 4 つの別々の列を使用するのではなく、アドレスを単一のセルとして表示します。 

     Begin_Com Role(*EXTENDS #PRIM_PANL *implements #prim_list.IListCellDesign *ListFields #ListFields) Displayposition(1) Height(68) Left(0) Tabposition(1) Top(0) Width(217) Layoutmanager(#TableLayout) 

Group_By Name(#ListFields) Fields(#Address1 #Address2 #address3 #postcode)

Define_Com Class(#PRIM_TBLO) Name(#TableLayout)
Define_Com Class(#PRIM_TBLO.Row) Name(#Row1) Displayposition(1) Parent(#TableLayout)
Define_Com Class(#PRIM_TBLO.Column) Name(#Column1) Displayposition(1) Parent(#TableLayout)
Define_Com Class(#PRIM_LABL) Name(#gAddress) Caption('') Displayposition(1) Ellipses(End) Left(0) Parent(#COM_OWNER) Tabposition(1) Tabstop(False) Top(0) Height(68) Width(217) Verticalalignment(Center) Marginleft(2) Marginright(2)
Define_Com Class(#PRIM_TBLO.Item) Name(#LayoutItem) Alignment(TopLeft) Column(#Column1) Flow(Down) Manage(#gAddress) Parent(#TableLayout) Row(#Row1) Rowspan(3)

Mthroutine Name(OnAdd) Options(*redefine)

#gAddress := ("&1, &2, &3, &4").Substitute( #Address1 #Address2 #Address3 #PostCode.AsString )

Endroutine

End_Com

プロパティ

名前

記述

ComponentClassName

コンポーネントのクラス名です。 オブジェクト (PRIM_OBJT) より継承

ComponentMembers

このコンポーネントの全てにアクセスできるようにします。 オブジェクト (PRIM_OBJT) より継承

ComponentPatternName

コンポーネントのクラスを制限します。 オブジェクト (PRIM_OBJT) より継承

ComponentTag

インスタンス用に値を格納できる汎用スペース オブジェクト (PRIM_OBJT) より継承

ComponentType

ComponentTypeではコンポーネントのタイプ情報にアクセスできます。 オブジェクト (PRIM_OBJT) より継承

ComponentTypeName

ComponentTypeName十分適格なコンポーネントのクラス名です。 オブジェクト (PRIM_OBJT) より継承

Enabled

リストアイテムの有効化または無効化 PRIM_LIST.CurrentItemクラス (PRIM_LIST.CurrentItem) より継承

Hint

現在の列/アイテムに表示されるヒント PRIM_LIST.CurrentItemクラス (PRIM_LIST.CurrentItem) より継承

HintPopup

現在の列/アイテムに表示されるポップアップヒント PRIM_LIST.CurrentItemクラス (PRIM_LIST.CurrentItem) より継承

HintTitle

現在の列/アイテムに表示されるヒントのタイトル PRIM_LIST.CurrentItemクラス (PRIM_LIST.CurrentItem) より継承

MouseOverStyle

マウスが現在の列/アイテム内に入った時に適用するスタイル PRIM_LIST.CurrentItemクラス (PRIM_LIST.CurrentItem) より継承

MouseOverStyles

マウスが現在の列/アイテム内に入った時に適用するスタイルのコレクション PRIM_LIST.CurrentItemクラス (PRIM_LIST.CurrentItem) より継承

Name

コンポーネントの名前 オブジェクト (PRIM_OBJT) より継承

Owner

コンポーネントのオーナーです。 オブジェクト (PRIM_OBJT) より継承

Parent

このインスタンスが添付されているコンポーネントインスタンス。コントロールのビジュアルコンテナまたは子インスタンスのコレクション オブジェクト (PRIM_OBJT) より継承

Part

セルで使用するパーツインスタンスへの参照

Popup

現在の列/アイテムに表示するポップアップ PRIM_LIST.CurrentItemクラス (PRIM_LIST.CurrentItem) より継承

Style

現在の列/アイテムに適用するスタイル PRIM_LIST.CurrentItemクラス (PRIM_LIST.CurrentItem) より継承

Styles

現在の列/アイテムに適用するスタイルのコレクション PRIM_LIST.CurrentItemクラス (PRIM_LIST.CurrentItem) より継承

ThemeDrawStyle

列の現アイテムに適用するThemeDrawStyle PRIM_LIST.CurrentItemクラス (PRIM_LIST.CurrentItem) より継承

Visible

リストアイテムの表示または非表示 PRIM_LIST.CurrentItemクラス (PRIM_LIST.CurrentItem) より継承

イベント

名前

記述

CreateInstance

コンポーネントを作成する時にCreateInstanceのイベントを実行します。 PRIM_LIST.CurrentItemクラス (PRIM_LIST.CurrentItem) より継承

DestroyInstance

コンポーネントが解除される前にDestroyInstanceのイベントを実行します。 PRIM_LIST.CurrentItemクラス (PRIM_LIST.CurrentItem) より継承

メソッド

名前

記述

SetFocus

リストのcurrentitemにフォーカスを設定します。 PRIM_LIST.CurrentItemクラス (PRIM_LIST.CurrentItem) より継承


参照

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

  • No labels