On Tue, 27 Jan 2009 13:01:04 -0500
Lee Jenkins <l...@datatrakpos.com> wrote:

> 
> Dumb question:
> 
> What is the best way to determine the OS platform at runtime?

You can already at compile time.

http://wiki.lazarus.freepascal.org/Code_Conversion_Guide#Useful_compiler_variables_.2F_defines_.2F_macros


> 
> I would like to be able to position things like dialog form buttons
> dependent on the OS.

For common buttons you can use TButtonPanel.

Mattias
_______________________________________________
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to