CHMlib Logo Leading Translation Management System for Translation Agencies, Top Translation Management Software for Freelance Translators, Time Tracking Software, Word Count, Character Count and Line Count Software, Computer Assisted Translation Tool for Easy Word Count, Clipboard Character Count Software, User-Friendly Translation Memory Software, Terminology Management Software, Terminology Management Server, Microsoft Glossary Software, Dictionary of Acronyms, Social Network for Translators and Translation Agencies, Acronyms and Abbreviations Search Engine, Russian Translation Lab, Ukrainian Translation Lab.
You are reading help file online using chmlib.com
PSCCenterRect

PSCCenterRect function

Centering of one rectangle in the other.

function PSCCenterRect(Const RectToCenter, BaseRect: TRect): TRect;

Unit
psc_procs

Description
PSCCenterRect is a global function for calculating and placing a rectangle in the other rectangle. PSCCenterRect do not draw rectangle anywhere but it is useful for centering of the rectangles.
Example:
If OwnerFormCenter and (ParentForm<>nil) then
begin
  FDialog.Position:=poDesigned;
  R:=PSCCenterRect(FDialog.BoundsRect,ParentForm.BoundsRect);
  FDialog.BoundsRect:=PSCEnsureRectInWorkArea(R);
end;


Generated by Putersoft.FreeHelp. Copyright © 1999-2002. puterSoft.Com
You are reading help file online using chmlib.com


If you want your help file to be removed or added please send e-mail to chmlibcom@gmail.com