L lanbing1400 Unregistered / Unconfirmed GUEST, unregistred user! 2002-12-02 #2 label内容发生变化后窗体自动重绘,因此可以在form的onpaint事件中判断
饿 饿狼传说 Unregistered / Unconfirmed GUEST, unregistred user! 2002-12-02 #4 同意lanbing1400,另外再加个判断屏蔽掉form刚开始弹出时的触发动作。
D delphiland Unregistered / Unconfirmed GUEST, unregistred user! 2002-12-24 #5 CM_TEXTCHANGED<br>controls.pas 定义:<br>CONST CM_TEXTCHANGED = CM_BASE + 18;<br>stdCtrls.pas:<br>TCustomLabel = class(TGraphicControl)<br> private<br> procedure CMTextChanged(var Message: TMessage); message CM_TEXTCHANGED;
CM_TEXTCHANGED<br>controls.pas 定义:<br>CONST CM_TEXTCHANGED = CM_BASE + 18;<br>stdCtrls.pas:<br>TCustomLabel = class(TGraphicControl)<br> private<br> procedure CMTextChanged(var Message: TMessage); message CM_TEXTCHANGED;