Отрывок из мануала:
| Цитата | MaxWidth specifies the maximum width, in pixels, for the header section. If MaxWidth equals the MinWidth property, the header section cannot be resized at runtime.
|
Так что при MaxWidth=MinWidth никак не поменяешь размер. Для убедительности, кусок кода:
| Код | procedure TListColumn.SetWidth(Value: TWidth); begin if FWidth <> Value then begin if ((Value < MinWidth) and (Value >= 0)) then Value := MinWidth //Value не может быть меньше MinWidth else if ((MaxWidth > 0) and (Value > MaxWidth)) then Value := MaxWidth; //в любом случае Value не превысит MaxWidth FWidth := Value; DoChange; end; end;
|
|