как узнать свойство TForm1.Height чтобы им потом манипулировать?
такой код ни в какую не пашет
- Код: Выделить всё
- H := TForm1.Height;
 TForm1.Height := H + 10;
подскажите, плиз!!!
Модератор: Модераторы
H := TForm1.Height;
TForm1.Height := H + 10;
  { TForm1 }
  TForm1 = class(TForm)
    Button1 : TButton;
    procedure Button1Click(Sender : TObject);
  private
    { private declarations }
  public
    { public declarations }
  end; 
var
  Form1 : TForm1; 
implementation
{$R *.lfm}
{ TForm1 }
procedure TForm1.Button1Click(Sender : TObject);
var h : integer;
begin
  H := Form1.Height;
 Form1.Height := H + 10;
end;  

 обращайтесь
 обращайтесь
Сейчас этот форум просматривают: mike и гости: 1