Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2006.10.15;
Скачать: CL | DM;

Вниз

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

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

Наверх




Память: 0.47 MB
Время: 0.045 c
3-1155824707
incm
2006-08-17 18:25
2006.10.15
Как используя BDE и MS SQL Server получать RAISEROR( Err ,10)


6-1148208866
ChainikDenis
2006-05-21 14:54
2006.10.15
Тупой вопрос по UDP


15-1158911634
Ega23
2006-09-22 11:53
2006.10.15
2 вопроса (не холивары!)


1-1155619531
el-eXtremo
2006-08-15 09:25
2006.10.15
есть ли модули по редактированию xml


1-1157456812
dracula
2006-09-05 15:46
2006.10.15
Как сохранить компонент в регистре? А потом его загрузить.