下の余白を設定します
テーブル レイアウト項目 (PRIM_TBLO.Item) のメンバ
データ タイプ - 整数
MarginBottom プロパティは、コントロールが Row、 Column、 Alignment および Flow によって定義された自然な位置から上に移動するピクセル数を定義します。 FitBoth または FitHeight に Sizing する場合、 MarginBottom と MarginTop は、コントロールのサイズを変更するために連携して動作します。 Sizing していない時は、 MarginTop を使用すると効果的に MarginBottom が無効になります。
この例では、 Top と Bottom の効果を示します。
Begin_Com Role(*EXTENDS #PRIM_WEB) Height(457) Width(889) Layoutmanager(#TableLayout1) Define_Com Class(#PRIM_VS.Style) Name(#Style1) Backgroundbrush(#Brush1) Define_Com Class(#PRIM_VS.SolidBrush) Name(#Brush1) Color(Theme600) Define_Com Class(#PRIM_VS.Style) Name(#Style2) Backgroundbrush(#Brush2) Define_Com Class(#PRIM_VS.SolidBrush) Name(#Brush2) Color(Theme300) Define_Com Class(#PRIM_TBLO) Name(#TableLayout1) Define_Com Class(#PRIM_TBLO.Column) Name(#Column1) Displayposition(1) Parent(#TableLayout1) Width(0.57) Define_Com Class(#PRIM_TBLO.Column) Name(#Column2) Displayposition(2) Parent(#TableLayout1) Width(1.9) Define_Com Class(#PRIM_TBLO.Column) Name(#Column3) Displayposition(3) Parent(#TableLayout1) Width(0.53) Define_Com Class(#PRIM_TBLO.Row) Name(#Row1) Displayposition(1) Parent(#TableLayout1) Height(0.56) Define_Com Class(#PRIM_TBLO.Row) Name(#Row2) Displayposition(2) Parent(#TableLayout1) Height(1.92) Define_Com Class(#PRIM_TBLO.Row) Name(#Row3) Displayposition(3) Parent(#TableLayout1) Height(0.52) Define_Com Class(#PRIM_TBLO.Item) Name(#LayoutItem1) Alignment(BottomLeft) Column(#Column2) Manage(#Label1) Parent(#TableLayout1) Row(#Row2) Sizing(None) Marginbottom(10) Margintop(10) Define_Com Class(#PRIM_TBLO.Item) Name(#LayoutItem2) Alignment(BottomRight) Column(#Column2) Manage(#Label2) Parent(#TableLayout1) Row(#Row2) Sizing(FitToHeight) Margintop(10) Marginbottom(10) Define_Com Class(#PRIM_TBLO.Item) Name(#LayoutItem3) Column(#Column2) Manage(#Panel1) Parent(#TableLayout1) Row(#Row2) Define_Com Class(#PRIM_TBLO.Item) Name(#LayoutItem4) Alignment(BottomCenter) Column(#Column2) Manage(#Label3) Parent(#TableLayout1) Row(#Row2) Sizing(None) Marginbottom(10) Define_Com Class(#PRIM_LABL) Name(#Label1) Caption('Top(10) and Bottom(10) Sizing(None)') Displayposition(1) Ellipses(Word) Height(58) Left(169) Parent(#COM_OWNER) Tabposition(2) Tabstop(False) Top(320) Verticalalignment(Center) Width(159) Alignment(Center) Style(#Style1) Define_Com Class(#PRIM_LABL) Name(#Label2) Caption('Top(10) and Bottom(10) Sizing(FitHeight)') Displayposition(2) Ellipses(Word) Height(272) Left(545) Parent(#COM_OWNER) Tabposition(3) Tabstop(False) Top(96) Verticalalignment(Center) Width(187) Alignment(Center) Style(#Style1) Define_Com Class(#PRIM_PANL) Name(#Panel1) Displayposition(4) Left(169) Parent(#COM_OWNER) Tabposition(4) Tabstop(False) Top(86) Height(292) Width(563) Style(#Style2) Define_Com Class(#PRIM_LABL) Name(#Label3) Caption('Bottom(10) Sizing(None)') Displayposition(3) Ellipses(Word) Height(64) Left(371) Parent(#COM_OWNER) Tabposition(1) Tabstop(False) Top(304) Verticalalignment(Center) Width(159) Alignment(Center) Style(#Style1) End_Com
2018 - V14SP1