![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
override in KOL [Delphi, Windows]
ebz © (2006-12-04 09:07:00)I want to override Createparams method, how to do in KOL?
ebz (2006-12-07 03:37:00) [1]Thanks..i'll check soon
thaddy (2006-12-06 17:47:00) [2]If it's only CreateParams, why?
The styles are controlled by Style and ExStyle properties.
If you need a RecreateParams method, look in the tips secion at the blueaura forum. I wrote one two years ago. Should be there somewhere, otherwise ask me.
Don (2006-12-05 11:41:00) [3]
type
TMyObj = object(TObj)
destructor Destroy; virtual;
end;
...
destructor TMyObj.Destroy;
begin
...
inherited Destroy; // Call TObj.Destroy
end;
ebz (2006-12-05 03:37:00) [4]I don't really understand, can you give example for KOLForm ?
Don (2006-12-04 12:48:00) [5]use directive virtual for own CreateParams.
and also use inherited for call parented methods.