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
PSCCalcPopupRect

PSCCalcPopupRect procedure

Calculates position for popup window under the specified rectangle.

procedure PSCCalcPopupRect(Const ControlRect: TRect; Alignment: TAlignment; Var Bounds: TRect);

Unit
psc_button_color

Description
Procedure calculates rectangle where popup should be placed and assign it to Bounds variable. PSCCalcPopupRect tries to place rectangle under the ControlRect. If it is not possible - it places over the ControlRect. But if it is not possible too, tries to place it on the left or on the right side of ControlRect.

Parameters
ControlRect
  Determines excluding rectangle where popup rectangle should not be placed.
Alignment
  Determines alignment relatively to the ControlRect. 
Bounds
  Determines the bounds of popup window rectangle.


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