Jump to content

Display a form created in Fmx ANDROID Many time

Recommended Posts


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


 f: TForm3;
  f :=  TForm3.Create(self);
  f.Layout1.Align := TAlignLayout.Top;
  f.TXTID.Text := ID;


Share this post

Link to post
Posted (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 by Rollo62

Share this post

Link to post
Posted (edited)

Thank you I resolve it ,Scrolbar not showing in android that all ,thank you





Edited by xorpas

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now