Newsgroups : Borland : borland.public.delphi.rtl.win32 : 2007 Mar : Problem with resizing

www.cryer.info
Managed Newsgroup Archive

Problem with resizing

Subject:Problem with resizing
Posted by:"Sanyin" (prevodil..@hotmail.com)
Date:Tue, 27 Mar 2007 15:46:09

I have tcontrol that paints some rect with some fixed ratio.
A need also calc width/height of that rect when resizing control, son in
control.onresize
i have code CalcRect.
Now when i call calcrect, i set width/height of control, which causes
resizing and again, same function, calcrect.
Is there danger of some overflow (till now, it works, but calls resize
several times)?

Replies:

www.cryer.info
Managed Newsgroup Archive