Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fmx does not show ok #17

Open
limelect opened this issue Jan 29, 2023 · 5 comments
Open

fmx does not show ok #17

limelect opened this issue Jan 29, 2023 · 5 comments

Comments

@limelect
Copy link

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

Screenshot - 29_01_2023 , 18_35_10
Screenshot - 29_01_2023 , 18_23_22

@limelect
Copy link
Author

limelect commented Jan 31, 2023

Ok, I found the answer. the container has to be on a pannel
I did not see it mentioned.

@limelect
Copy link
Author

limelect commented Jan 31, 2023

No, it does not work. For a while it was OK then after a view compilation, it returns to not view properly.

@limelect
Copy link
Author

limelect commented Feb 3, 2023

  1. Make a very simple fmx project
  2. add 2 buttons on top left corner and buttom right corner
  3. Make a vcl project
  4. rename to different form
  5. add fmx form to uses an add FMX.Forms on top uses as first line.
  6. put container as a client
  7. add on container creat
  8. if not Assigned(Form) then Form := TForm1.Create(nil);
  9. compile and see NO 2 BUTTONS SHOWN
    the container should resize FMX according to the container

@limelect
Copy link
Author

limelect commented Feb 4, 2023

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.

@limelect
Copy link
Author

limelect commented Feb 4, 2023

 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));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant