Здравствуйте! При динамическом создании экземпляра компонента TLabeledEdit не отображается метка (свойство EditLabel), само поле ввода отображается корректно. Что я неправильно делаю? Код:
Код:
constructor TValuePanel.create(AOwner: TWinControl;
p: PparamValuePanel);
begin
inherited create(AOwner);
AOwner.InsertControl(self);
...
edDecValue := TLabeledEdit.create(AOwner);
self.InsertControl(edDecValue);
edDecValue.EditLabel.Caption := 'Dec';
edDecValue.SetBounds(CurLeft, CurTop, p.EditValueWidth, 15);
edDecValue.Text := IntToStr(p.InitValue);
...
end;