Hi Emmanuel,
 
  > with Panel1 do
  > begin
  > Left := round((36 * 1024)/Screen.Width);
  > Top := round((30 * 768)/Screen.Height);
  >  Width := round((907 * 1024)/Screen.Width);
  > Height := round((210 * 768)/Screen.Height);

There's a delphi function which does all that for you,
and for every control on the form all in one go:

 main_form.ScaleBy()

See the Help.

Martin.



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to