Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "KOL";
Текущий архив: 2007.07.15;
Скачать: [xml.tar.bz2];

Вниз

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 вся ветка

Форум: "KOL";
Текущий архив: 2007.07.15;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.45 MB
Время: 0.105 c
2-1182495565
Ral'f
2007-06-22 10:59
2007.07.15
БД Access защищена паролем


15-1180086845
TUser
2007-05-25 13:54
2007.07.15
220 шагов


15-1182002909
AlexanderMS
2007-06-16 18:08
2007.07.15
Зачем компилятор включает в exe-файл компилируемой программы...


4-1170575289
AlexeyMir
2007-02-04 10:48
2007.07.15
Как заблокировать нажатие кнопки LWin на клавиатуре


2-1182061118
Лысеющий Самурай
2007-06-17 10:18
2007.07.15
HotKeys





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский