- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
procedure TCommonFineEdit.SetTopControls;
begin
if beSummHist.Visible then
SummEdit.Width := 92
else
SummEdit.Width := 108;
if VarToInt(Oper.OperationType) in [otFine, otNoAgreeFine, otPayFine, otPayFineCorrect] then
begin
NameEdit.Top := 16;
Label1.Top := NameEdit.Top+3;
PODateEdit.Top := 47;
AccountDateJvDateEdit.Top := PODateEdit.Top;
label3.Top := PODateEdit.Top+3;
lPODate.Top := PODateEdit.Top+3;
beSummHist.Top := 77;
SummEdit.Top := 78;
POSummEdit.Top := SummEdit.Top;
label12.Top := SummEdit.Top+3;
lPOSumm.Top := SummEdit.Top+3;
StateComboBox.Top := 109;
label4.Top := StateComboBox.Top+3;
InspectNameEdit.Top := 140;
InspectNameLabel.Top := InspectNameEdit.Top+3;
CommentEdit.Top := 171;
label2.Top := CommentEdit.Top+3;
if ftSale then
begin
RateNameEdit.Top := 202;
lRate.Top := RateNameEdit.Top+3;
BasePriceEdit.Top := 233;
PaySummMoneyEdit.Top := BasePriceEdit.Top;
lMoney.Top := BasePriceEdit.Top+3;
lBasePrice.Top := BasePriceEdit.Top+3;
Height := 368;
end else
Height := 310;
end
...
Stalker 11.06.2010 14:47 # +1
Umak 11.06.2010 14:56 # 0
TarasB 11.06.2010 17:34 # −9
Umak 12.06.2010 08:54 # 0
Выравнивание (Align) + якоря (Anchors) поудобнее если в дизайне строить.
Если динамически тоже.
TarasB 12.06.2010 10:56 # −1
Stalker 12.06.2010 11:40 # +4
Umak 12.06.2010 12:09 # +2
bugmenot 15.06.2010 18:57 # 0
Bo3MyIIIeHHbIu_nemyx 25.08.2021 17:54 # 0