Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2007.07.15;
Скачать: 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 вся ветка

Текущий архив: 2007.07.15;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.026 c
1-1178875778
Ромка
2007-05-11 13:29
2007.07.15
Сохранение обьектов классов в файловый поток


15-1181929047
Andre_s
2007-06-15 21:37
2007.07.15
Цифровой фотик


15-1180468076
Avokain
2007-05-29 23:47
2007.07.15
Уравнение движения по окружности


11-1165307170
azsd
2006-12-05 11:26
2007.07.15
TBAddInsButtons treat Separate as normal buttons


2-1182357454
WFS
2007-06-20 20:37
2007.07.15
Как сохранить данные из таблицы DBGrid в файл с расширением .ma?