テーブルレイアウト行 (PRIM_TBLO.Row)

テーブルレイアウト行

祖先 - PRIM_TBLO.HorizontalDivisionクラス (PRIM_TBLO.HorizontalDivision) テーブル分割 (PRIM_TBLO.Division) オブジェクト (PRIM_OBJT)

詳細

列は、 Table Layout の垂直分割を定義します。
HeightUnits の特性は、列の範囲を定義します。

以下の例では、行は 3 つあります。最初の高さは、 200 ピクセルです。あとの 2 列は比例的で、残りのスペースを均等に分けます。 

     Begin_Com Role(*EXTENDS #PRIM_WEB) Height(457) Width(1169) Layoutmanager(#TableLayout) 

Define_Com Class(#PRIM_VS.Style) Name(#Style1) Backgroundbrush(#Brush1)
Define_Com Class(#PRIM_VS.SolidBrush) Name(#Brush1) Color(Theme300)

Define_Com Class(#PRIM_VS.Style) Name(#Style2) Backgroundbrush(#Brush2)
Define_Com Class(#PRIM_VS.SolidBrush) Name(#Brush2) Color(Theme500)

Define_Com Class(#PRIM_VS.Style) Name(#Style3) Backgroundbrush(#Brush3)
Define_Com Class(#PRIM_VS.SolidBrush) Name(#Brush3) Color(Theme700)

Define_Com Class(#prim_tblo) Name(#TableLayout)
Define_Com Class(#Prim_tblo.Row) Name(#Row1) Parent(#TableLayout) Units(Pixels) Height(200) Displayposition(1)
Define_Com Class(#Prim_tblo.Row) Name(#Row2) Parent(#TableLayout) Displayposition(2)
Define_Com Class(#Prim_tblo.Row) Name(#Row3) Parent(#TableLayout) Displayposition(3)
Define_Com Class(#PRIM_TBLO.Column) Name(#Column1) Displayposition(1) Parent(#TableLayout)
Define_Com Class(#PRIM_TBLO.Item) Name(#LayoutItem1) Alignment(TopLeft) Column(#Column1) Flow(Down) Manage(#Label1) Parent(#TableLayout) Row(#Row1)
Define_Com Class(#PRIM_TBLO.Item) Name(#LayoutItem2) Alignment(TopLeft) Column(#Column1) Flow(Down) Manage(#Label2) Parent(#TableLayout) Row(#Row2)
Define_Com Class(#PRIM_TBLO.Item) Name(#LayoutItem3) Alignment(TopLeft) Column(#Column1) Flow(Down) Manage(#Label3) Parent(#TableLayout) Row(#Row3)

Define_Com Class(#PRIM_LABL) Name(#Label1) Caption('200 Pixels') Displayposition(1) Ellipses(Word) Height(200) Left(0) Parent(#COM_OWNER) Tabposition(1) Tabstop(False) Top(0) Verticalalignment(Center) Width(1169) Style(#Style1) Alignment(Center)
Define_Com Class(#PRIM_LABL) Name(#Label2) Caption('50% of remaining height') Displayposition(2) Ellipses(Word) Height(129) Left(0) Parent(#COM_OWNER) Tabposition(2) Tabstop(False) Top(200) Verticalalignment(Center) Width(1169) Style(#Style2) Alignment(Center)
Define_Com Class(#PRIM_LABL) Name(#Label3) Caption('50% of remaining height') Displayposition(3) Ellipses(Word) Height(128) Left(0) Parent(#COM_OWNER) Tabposition(3) Tabstop(False) Top(329) Verticalalignment(Center) Width(1169) Style(#Style3) Alignment(Center)

End_Com

プロパティ

名前

記述

ComponentClassName

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

ComponentMembers

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

ComponentPatternName

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

ComponentTag

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

ComponentType

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

ComponentTypeName

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

DisplayPosition

列の相対位置

Height

行の高さ

MaxHeight

コンテナのサイズ変更時のコントロールの最大の高さ

MinHeight

コンテナのサイズ変更時のコントロールの最小の高さ

Name

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

Owner

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

Parent

この行を含むテーブルへの参照

Units

使用可能なスペースの固定の高さ、または割合

イベント

名前

記述

CreateInstance

コンポーネントを作成する時にCreateInstanceのイベントを実行します。 テーブルレイアウト行 (PRIM_TBLO.Row) より継承

DestroyInstance

コンポーネントが解除される前にDestroyInstanceのイベントを実行します。 テーブルレイアウト行 (PRIM_TBLO.Row) より継承

参照

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