look at the dot completion proposals for `screen.` There's already all what you need.
`Forms` must be in the `uses`. Then `screen.width`, `screen.height` etc. Try to learn and explore the LCL before suggesting next time. Lazarus is over 10 years old so you can imagine that tons of stuff are already there.
Forms must be in the `uses`.....