On Exit On Enter

 
void __fastcall TForm1::Edit1Enter(TObject *Sender)
{
  Edit1->Color = clYellow;
}
//---------------------------------------------------------------------------
void __fastcall TForm1::Edit1Exit(TObject *Sender)
{
  Edit1->Color = clWindow;
}




posted @ 2012-06-03 17:51  XE2011  阅读(92)  评论(0编辑  收藏  举报