[Lazarus] Obtaining screen geometry

Brad Campbell brad at wasp.net.au
Tue Jun 29 00:13:06 CEST 2010


Alexander Grau wrote:
> 
> Below is how we center our main form when it is created (FormCreate) - 
> you can see from it, how we can ask for the screen width/height - 
> hopefully this will work with dual screen setups too!

Thanks for that Alexander, I'll give it a whirl when I get a second head hooked up and let you know. 
Many thanks :)

Regards,
Brad
-- 
Dolphins are so intelligent that within a few weeks they can
train Americans to stand at the edge of the pool and throw them
fish.




More information about the Lazarus mailing list