W
woodmud
Unregistered / Unconfirmed
GUEST, unregistred user!
我想重载TEdit控件的Exit事件,下面是我的代码:
class PACKAGE TExitEditublic TEdit
{
private:
protected:
DYNAMIC void __fastcall Exit();
public:
__fastcall TExitEdit(TComponent* Owner);
__published:
};
void __fastcall TExitEdit::Exit()
{
ShowMessage("Exit");
}
但是当焦点离开这个TExitEdit控件的时候,什么事情都没有发生。请问各位大虾这是什么原因?
class PACKAGE TExitEditublic TEdit
{
private:
protected:
DYNAMIC void __fastcall Exit();
public:
__fastcall TExitEdit(TComponent* Owner);
__published:
};
void __fastcall TExitEdit::Exit()
{
ShowMessage("Exit");
}
但是当焦点离开这个TExitEdit控件的时候,什么事情都没有发生。请问各位大虾这是什么原因?