Тема: ComboBox в Panel
Показать сообщение отдельно
  #4  
Старый 04.05.2011, 07:20
peresmeshnik peresmeshnik вне форума
Прохожий
 
Регистрация: 25.02.2011
Сообщения: 4
Репутация: 10
По умолчанию

Код:
unit MyPanel;

:::::::
:::::::
type
TMyPanel = class (TPanel)

private
FCBox : TComboBox;
:::::::::
:::::::::
constructor TMyPanel.Create(AOwner:TComponent);

published
 
property CBox : TComboBox read FCBox;

end;

procedure Register;

implementation

constructor TMyPanel.Create(AOwner:TComponent);

begin
inherited Create(AOwner);
Height:=58;
Width:=170;

FCBox:=TComboBox.Create(Self);
FCBox.Parent:=Self;
FCBox.Top:=6;
FCBox.Left:=8;

end;
end.

lmikle: пользуемся тегами!!!
Ответить с цитированием