fmx does not show ok
I put the zip program on the blog The screen does not show correctly

Ok, I found the answer. the container has to be on a pannel I did not see it mentioned.
No, it does not work. For a while it was OK then after a view compilation, it returns to not view properly.
- Make a very simple fmx project
- add 2 buttons on top left corner and buttom right corner
- Make a vcl project
- rename to different form
- add fmx form to uses an add FMX.Forms on top uses as first line.
- put container as a client
- add on container creat
- if not Assigned(Form) then Form := TForm1.Create(nil);
- compile and see NO 2 BUTTONS SHOWN the container should resize FMX according to the container
I was trying to solve the size position buttons without any success. I moved the right down button to find a screen fmx and could not find a position. every compilation container changed. It seems there is a variable not defined.
This is the problem puting h,w fixe solve it but this is not the way
// WindowService.SetWindowRect(FFMXForm, RectF(0, 0, Width, Height)); WindowService.SetWindowRect(FFMXForm, RectF(0, 0, 600, 500));