procedure TForm7.WebButton1Click(Sender: TObject);
var
newform: TForm1;
begin
newform := TForm1.CreateNew(@AfterCreate);
newform.popup := true;
newform.showModal(@AfterShowModal);
newform.Caption := 'Child form';
newform.Border := fbDialog;
end;
I want to show Form1 as a popup with the Top & Left +10px and Form1 to scale to 90% of the main form.
Form1 has a webImageControl that I want to fill with an image scaled proportionality.