フロー レイアウト マネージャ (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) より継承
ComponentTypeComponentType ではコンポーネントのタイプ情報にアクセスできます。 ブジェクト (PRIM_OBJT) より継承
ComponentTypeNameComponentTypeName 十分適格なコンポーネントのクラス名です。 ブジェクト (PRIM_OBJT) より継承
Direction項目の並び方を制御します。
FlowOperation行/列のフロー処理を設定するためのプロパティです。
FlowOperationHor行または列のコンポーネントの横の並列処理を定義するためのプロパティです
FlowOperationVer行または列のコンポーネントの縦並び処理を定義するためのプロパティです
ItemsPerDivision1つの行または列に入れられる項目数を指定します。
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) より継承

参照

すべてのコンポーネント クラス

テクニカルリファレンス

2018 - V14SP1