Вниз
Скачать: CL | DM;

override in KOL   Найти похожие ветки 

 
ebz   (2006-12-04 09:07) [0]

I want to override Createparams method, how to do in KOL?


 
Don ©   (2006-12-04 12:48) [1]

use directive virtual for own CreateParams.
and also use inherited for call parented methods.


 
ebz   (2006-12-05 03:37) [2]

I don"t really understand, can you give example for KOLForm ?


 
Don ©   (2006-12-05 11:41) [3]

type
 TMyObj = object(TObj)
   destructor Destroy; virtual;
 end;
...

destructor TMyObj.Destroy;
begin
 ...
 inherited Destroy; // Call TObj.Destroy
end;


 
thaddy   (2006-12-06 17:47) [4]

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.


 
ebz   (2006-12-07 03:37) [5]

Thanks..i"ll check soon



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.013 c
15-1181739730
авыф
2007-06-13 17:02
2007.07.15
Convert


2-1182278487
Ezorcist
2007-06-19 22:41
2007.07.15
Как запихнуть BMP в PNG?


3-1176746454
так себе
2007-04-16 22:00
2007.07.15
Узнать название полей


4-1170748027
spnd
2007-02-06 10:47
2007.07.15
Как отловить сообщение подключения нового устройства


6-1166481018
PHPDeveloper
2006-12-19 01:30
2007.07.15
WebBrowser




   Наверх