| 发表于:2007-03-28 18:11:163楼 得分:0 |
image没有句柄,是non-windowed控件,而panel是windowed控件,non-windowed控件总是在windowed控件后。设置了也没用。见delphi的帮助: the stacking order of windowed and non-windowed controls cannot be mingled. for example, if you put a memo, a windowed control, on a form, and then put a label, a non-windowed control, on top of it, the label disappears behind the memo. windowed controls always stack on top of non-windowed controls. in this example, calling the setzorder method of the label or the memo has no effect, the label always remains behind the memo. 如果要摆在panel前面,把image放在另一个panel上,然后设置这个panel的位置。 | | |
|