xorpas 4 Posted April 19, 2021 H I I Have an issue with fmx android when run app it display a form Created in the first click But not in the second click , It work perfectly in Windows but not in android I use VertScrollBox as parent this is my code var f: TForm3; begin f := TForm3.Create(self); f.Layout1.Align := TAlignLayout.Top; f.TXTID.Text := ID; self.AddObject(f.Layout1); end; Share this post Link to post
Rollo62 536 Posted April 20, 2021 (edited) Its a little unclear to me what you want achieve. If you want showing/hiding the form, then you should create the form ONCE and Show/Hide it. From your text it seems that you Create, but never free the Form. So maybe that is the issue, multiple creation of the same form ? In your code you put fields to another object, (AddObject), that could cause a lot of issues and sideeffects too. Maybe you can show us the full code of what you are doing. Edited April 20, 2021 by Rollo62 Share this post Link to post
xorpas 4 Posted April 20, 2021 (edited) Thank you I resolve it ,Scrolbar not showing in android that all ,thank you Edited April 20, 2021 by xorpas Share this post Link to post