TDragDockObject有一个DropAlign属性,帮助中的说明是:
Value MeaningalNone The control remains where it was placed. This is the default value.
alTop The control moves to the top of its parent and resizes to fill the width of its parent. The height of the control is not affected.
alBottom The control moves to the bottom of its parent and resizes to fill the width of its parent. The height of the control is not affected.
alLeft The control moves to the left side of its parent and resizes to fill the height of its parent. The width of the control is not affected.alRight The control moves to the right side of its parent and resizes to fill the height of its parent. The width of the control is not affected.
alClient The control resizes to fill the client area of its parent. If another control already occupies part of the client area, the control resizes to fit within the remaining client area.
alCustom The control抯 positioning is determined by calls to
Value MeaningalNone The control remains where it was placed. This is the default value.
alTop The control moves to the top of its parent and resizes to fill the width of its parent. The height of the control is not affected.
alBottom The control moves to the bottom of its parent and resizes to fill the width of its parent. The height of the control is not affected.
alLeft The control moves to the left side of its parent and resizes to fill the height of its parent. The width of the control is not affected.alRight The control moves to the right side of its parent and resizes to fill the height of its parent. The width of the control is not affected.
alClient The control resizes to fill the client area of its parent. If another control already occupies part of the client area, the control resizes to fit within the remaining client area.
alCustom The control抯 positioning is determined by calls to
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货