![]() |
От: |
Flamer
|
http://users.livejournal.com/_flamer_/ |
Дата: | 03.12.04 19:01 | ||
Оценка: |
TCustomEdit::Change
Generates an OnChange event.
DYNAMIC void __fastcall Change(void);
Description
Applications do not call the Change method directly. It is triggered automatically by Windows events. Change is exposed as a protected method so that derived classes can make additional responses when the text changes beyond invoking the OnChange event handler. If Derived classes that override the Change method do not call the TCustomEdit method, the OnChange event handler will not be called.
class TMyEdit : public TCustomEdit
{
typedef TCustomEdit inherited;
private:
DYNAMIC void __fastcall Change(void)
{
// делаем, что надо
inherited::Change();
};
};