03-05-2020, 10:08 PM
hi
here is what works for me, and i use it a lot for several years now :
assuming :
1. TIWForm2 is in unit "Unit2"
add Unit2 to the Uses of Form1\Unit1.
Then,
TIWForm1.Button1.OnClick(sender....
begin
With TIWForm2.create(WebApplication) Do Begin
value1 := 'test'; //your public var from Unit2
Show;
End;
end;
good luck
here is what works for me, and i use it a lot for several years now :
assuming :
1. TIWForm2 is in unit "Unit2"
add Unit2 to the Uses of Form1\Unit1.
Then,
TIWForm1.Button1.OnClick(sender....
begin
With TIWForm2.create(WebApplication) Do Begin
value1 := 'test'; //your public var from Unit2
Show;
End;
end;
good luck
