Вниз
Скачать: CL | DM;

Передача параметров форме   Найти похожие ветки 

 
Lammmerrr   (2006-06-03 19:46) [0]

Как из Form1 передать Form2 параметры (несколько переменных), при её отображении (отображается через Form2.ShowModal)?


 
antonn ©   (2006-06-03 19:53) [1]

type
 TForm2 = class(TForm)
 public
   procedure AdvancedShowModal(parameter:integer);
 end;

..
implementation
..

procedure TForm2.AdvancedShowModal(parameter:integer);
begin
parameter:=0; // :)
showmodal;
end;


 
Sergey Masloff   (2006-06-03 20:16) [2]

чем не подходит обычное

with TForm2.Create(Application) do
try
 Property1 := SomeValue;
 Property2 := OtherValue;
 ShowModal();
finally
 Free();
end;



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.026 c
11-1129318131
Ritter
2005-10-14 23:28
2006.06.25
События мыши в ListView


2-1149600623
VitV
2006-06-06 17:30
2006.06.25
interbase+delphi связывание таблиц


2-1149345643
AlexanderMS
2006-06-03 18:40
2006.06.25
TFileStream.CopyFrom


3-1146632130
thvfrjd
2006-05-03 08:55
2006.06.25
странный результат выполнения запроса


2-1149773568
XTD
2006-06-08 17:32
2006.06.25
Как программно свернуть окно ?




   Наверх