XP모드에서 TPanel.COlor속성이 적용되지 않는 경우가 많다.
즉 TPanel.Color속성은 분명 clYellow같은 다른 색으로 지정했는데 실제 프로그램상에서는 다시 윈도우폼색으로 돌아가는 경우이다.
해결책:
Set the panel's ParentBackground property to False. To make sure the
property is stored, first set it to True in the Object Inspector and
then back to False.
즉 TPanel.Color속성은 분명 clYellow같은 다른 색으로 지정했는데 실제 프로그램상에서는 다시 윈도우폼색으로 돌아가는 경우이다.
해결책:
Set the panel's ParentBackground property to False. To make sure the
property is stored, first set it to True in the Object Inspector and
then back to False.