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

Вниз

autofree form ?   Найти похожие ветки 

 
Boguslaw   (2005-12-22 20:17) [0]

I"d like to create forms from dll and show them,but it must be not-modally because one form could be show just after another (it is XP tooltip replacement)
I need this form to be show and on timer to close it which should free itself automatically like in VCL in OnClose Action:= caFree
Is it possible ? Can"t find such option in KOL  
Can I do just Form.Free safetly in Form OnClose event ?


 
Thaddy   (2005-12-22 20:26) [1]

No, but you can do PostMessage with WM_DESTROY from the close event and invoke the destructor, i think. Also check out TOnClose in kol.pas. I believe it is different, but equivalent to OnClose in VCL and well documented in the sourcecode.


 
Boguslaw   (2005-12-22 20:30) [2]

If you mean OnClose event for form , option Action is not a set but only Boolean
It is missing functionality under KOL to not support caFree option to autofree forms.


 
Boguslaw   (2005-12-22 20:32) [3]

By the way: sometimes would be perfect to have KOL IRC channel for example on FreeNode (of course in English)



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

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

Наверх




Память: 0.44 MB
Время: 0.037 c
4-1148996843
liavik
2006-05-30 17:47
2006.10.15
Позиии приложений


2-1159039998
_Ламер_
2006-09-23 23:33
2006.10.15
DEFAULT USER


2-1159423377
ГореПрограммер
2006-09-28 10:02
2006.10.15
Присвоение значения свойства группе объектов


2-1159181038
йцукен
2006-09-25 14:43
2006.10.15
Динамическое создание PopupMenu


1-1157708781
ORMADA
2006-09-08 13:46
2006.10.15
Узнать путь к файлу до WM_DROPFILES





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
Английский Французский Немецкий Итальянский Португальский Русский Испанский