G
guanrui
Unregistered / Unconfirmed
GUEST, unregistred user!
随便找的一条消息procedure TControl.WMLButtonDown(var Message: TWMLButtonDown);begin SendCancelMode(Self); inherited; if csCaptureMouse in ControlStyle then MouseCapture := True; if csClickEvents in ControlStyle then Include(FControlState, csClicked); DoMouseDown(Message, mbLeft, []);end;有点不明白的, 他的父类TComponent并无消息,那inherited;从何而来呢,到底继承了什么呢,请高手指点下 谢谢