Ok, I see...
If you SendToBack BtnA then there is no problem, only when BtnA is behind it
I fooled around with the code some, but Im not sure how to figure it out
sorry...
pri_sama <pri_sama
yahoo.com> wrote:
Thanks for your comment. But I still have the problem. I tried your
code in Delphi 7 and 2006 too. I will explain the steps again.
1) Place a Button (BtnA) on a Form,
2) Place a TransparentScrollBox(without aligning) so that part of
the 'BtnA' Button is covered by the TransparentScrollBox.
3) Place another Button on the TransparentScrollBox so that the Scroll
Bars are visible.
4) Run the programme.
5) BtnA can be seen part on TransparentScrollBox and another part on
the Form.
6) Now move the ScrollBars of TransparentScrollBox.
7) The part of BtnA inside the TransparentScrollBox moves as if BtnA is
broken.
pri_sama.
---------------------------------
Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail Beta.
[Non-text portions of this message have been removed]