フローレイアウトマネージャ (PRIM_FWLM)

フローレイアウトマネージャ

祖先 - 基本レイアウトマネージャ (PRIM_DTVW) オブジェクト (PRIM_OBJT)

詳細

フロー レイアウト・マネージャは、アイテムを行または列に分割し、アイテムを適切な行/列に次々と移動させ、コンポーネントを表示エリアに配置します。 

行または列への分割は Direction プロパティで制御され、行数/列数は、 ItemsPerDivision プロパティによって制御されます。

フローレイアウトを使用してコントロールの相対位置を制御するシンプルなフォーム。 

     Function Options(*DIRECT)
Begin_Com Role(*EXTENDS #PRIM_FORM) Clientwidth(454) Clientheight(140) Componentversion(2) Top(227) Left(199) Layoutmanager(#FlowLayout1)

Define_Com Class(#PRIM_FWLM) Name(#FlowLayout1) Direction(TopToBottom)
Define_Com Class(#PRIM_FWLI) Name(#FlowLayoutItem1) Manage(#Button1) Parent(#FlowLayout1)
Define_Com Class(#PRIM_FWLI) Name(#FlowLayoutItem2) Manage(#Button2) Parent(#FlowLayout1)
Define_Com Class(#PRIM_FWLI) Name(#FlowLayoutItem3) Manage(#Button3) Parent(#FlowLayout1)
Define_Com Class(#PRIM_FWLI) Name(#FlowLayoutItem4) Manage(#Button4) Parent(#FlowLayout1)
Define_Com Class(#PRIM_FWLI) Name(#FlowLayoutItem5) Manage(#Button5) Parent(#FlowLayout1)
Define_Com Class(#PRIM_FWLI) Name(#FlowLayoutItem6) Manage(#Button6) Parent(#FlowLayout1)
Define_Com Class(#PRIM_FWLI) Name(#FlowLayoutItem7) Manage(#Button7) Parent(#FlowLayout1)
Define_Com Class(#PRIM_FWLI) Name(#FlowLayoutItem8) Manage(#Button8) Parent(#FlowLayout1)
Define_Com Class(#PRIM_FWLI) Name(#FlowLayoutItem9) Manage(#Button9) Parent(#FlowLayout1)
Define_Com Class(#PRIM_FWLI) Name(#FlowLayoutItem10) Manage(#Button10) Parent(#FlowLayout1)

Define_Com Class(#PRIM_PHBN) Name(#Button1) Caption('Button1') Displayposition(1) Left(0) Parent(#COM_OWNER) Tabposition(1) Top(0)
Define_Com Class(#PRIM_PHBN) Name(#Button2) Caption('Button2') Displayposition(2) Left(0) Parent(#COM_OWNER) Tabposition(2) Top(35)
Define_Com Class(#PRIM_PHBN) Name(#Button3) Caption('Button3') Displayposition(3) Left(0) Parent(#COM_OWNER) Tabposition(3) Top(70)
Define_Com Class(#PRIM_PHBN) Name(#Button4) Caption('Button4') Displayposition(4) Left(0) Parent(#COM_OWNER) Tabposition(4) Top(105)
Define_Com Class(#PRIM_PHBN) Name(#Button5) Caption('Button5') Displayposition(5) Left(90) Parent(#COM_OWNER) Tabposition(5) Top(0)
Define_Com Class(#PRIM_PHBN) Name(#Button6) Caption('Button6') Displayposition(6) Left(90) Parent(#COM_OWNER) Tabposition(6) Top(35)
Define_Com Class(#PRIM_PHBN) Name(#Button7) Caption('Button7') Displayposition(7) Left(90) Parent(#COM_OWNER) Tabposition(7) Top(70)
Define_Com Class(#PRIM_PHBN) Name(#Button8) Caption('Button8') Displayposition(8) Left(90) Parent(#COM_OWNER) Tabposition(8) Top(105)
Define_Com Class(#PRIM_PHBN) Name(#Button9) Caption('Button9') Displayposition(9) Left(180) Parent(#COM_OWNER) Tabposition(9) Top(0)
Define_Com Class(#PRIM_PHBN) Name(#Button10) Caption('Button10') Displayposition(10) Left(180) Parent(#COM_OWNER) Tabposition(10) Top(35)

End_Com

プロパティ

名前

記述

ComponentClassName

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

ComponentMembers

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

ComponentPatternName

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

ComponentTag

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

ComponentType

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

ComponentTypeName

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

Direction

項目の並び方を制御します。

FlowOperation

行/列のフロー処理を設定するためのプロパティです。

FlowOperationHor

行または列のコンポーネントの横の並列処理を定義するためのプロパティです

FlowOperationVer

行または列のコンポーネントの縦並び処理を定義するためのプロパティです

ItemsPerDivision

1つの行または列に入れられる項目数を指定します。

MarginBottom

下の余白を設定します

MarginLeft

左の余白を設定します

MarginRight

右の余白を設定します

MarginTop

上の余白を設定します

MaxColumns

レイアウト内で許可される列の最大数

MaxHeight

コンテナのサイズ変更時のコントロールの最大の高さ 基本レイアウトマネージャ (PRIM_DTVW) より継承

MaxRows

レイアウト内で許可される行の最大数

MaxWidth

コンテナのサイズ変更時のコントロールの最大の幅 基本レイアウトマネージャ (PRIM_DTVW) より継承

MinColumns

レイアウト内で許可される列の最小数

MinHeight

コンテナのサイズ変更時のコントロールの最小の高さ 基本レイアウトマネージャ (PRIM_DTVW) より継承

MinRows

レイアウト内で許可される行の最小数

MinWidth

コンテナのサイズ変更時のコントロールの最小の幅 基本レイアウトマネージャ (PRIM_DTVW) より継承

Name

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

Owner

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

Parent

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

Sizing

管理下の複合コントロール内のレイアウトマネージャの動作を決定します。 基本レイアウトマネージャ (PRIM_DTVW) より継承

SizingRuleHor

横のサイズを変更する時のルールを定義するためのプロパティです

SizingRuleVer

立ってのサイズを変更する時のルールを定義するためのプロパティです

Spacing

行または列の間隔を定義するためのプロパティです

SpacingItems

行または列の項目の間隔を定義するためのプロパティです

イベント

名前

記述

CreateInstance

コンポーネントを作成する時にCreateInstanceのイベントを実行します。 フローレイアウトマネージャ (PRIM_FWLM) より継承

DestroyInstance

コンポーネントが解除される前にDestroyInstanceのイベントを実行します。 フローレイアウトマネージャ (PRIM_FWLM) より継承


参照

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