Greetings All,
Delphi 2010
I have a Delphi executable with a very small main window and instead of
it being placed screen centered I would like it to be place in the lower
right corner of the screen just above the system tray.
Anyone have any example code on how to accomplish this?
Thanks to all who reply.
Mike
Not tested, but in FormCreate, something like:
Left := Screen.Width - Width;
Top := Screen.Height - Height;
See:
http://delphi.about.com/od/vclusing/a/tscreen.htm
You may need to subtract the taskbar height as well - I have the taskbar
minimised so I don't see the difference!
Cheers,
David
--
SatSignal software - quality software written to your requirements
Web: http://www.satsignal.eu
Email: david-tay...@blueyonder.co.uk
__________________________________________________
Delphi-Talk mailing list -> Delphi-Talk@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk