hi i create a form like this :
Application.CreateForm(TfrmAliqIVA_IE, AElementID, Result, @AfterCreate);
how can i create it in a popup style ? if i set AElementID = '' nothing happen !
Another thing : in popup form can i have a title bar like window style to move it ?
Thx
ok popup solved ... second question : can i have a title bar like window style to move it ?
In v1.3 you will be able to do that with:
newform := TMyForm.CreateNew(@AfterCreate);
newform.Caption := 'Popup form';
newform.Popup := true;
newform.Border := fbDialog; // <--- defines to use a popup form with caption
newform.ShowModal(@AfterShowModal);
1 Like