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

Вниз

Before GOODWELL   Найти похожие ветки 

 
Boguslaw   (2003-03-03 12:28) [0]

I think that before GOODWELL it is time to make better hierarchy in KOL to avoid situation when one improvement throw another bug in another peace of KOL source.Later GOODWELL plugin could compose good GOODWELL hierarchy from such KOL source.


 
Kladov   (2003-03-03 18:05) [1]

What hierarchy you about? Composing all the visual controls into a single TControl allows to leave resulting executable small. Adding every another object in Delphi increases executable (at least vmt is copied, and this already is bad for program size).


 
Boguslaw   (2003-03-04 02:11) [2]

Hierarchy which allow avoid bugs, not neccesary hierarchy of controls but one for restructure code to avoid for example such situation when change in WndProc for one control broke proper code for another control or event.There are for example strange changes in current version of KOL which causes inproper OnMessages handler for WM_KEYDOWN message at least when there are two forms.I will send You an example project.
Also would be good to divide KOL into parts (using koldivide program You described a few weeks ago) for example : KOLBase,KOLWin etc,but in opposite to that idea ,decomposition of KOL.pas should be done once but recomposition on user side: small program kolmerge could merge them into kol.pas again for compilation taking into consideration all define statements.This is at least needed if someone could try to make KOL compilable under Free Pascal Compiler and later another platform.
Using for example> kolmerge win32 delphi6 could lead to kol.pas especcialy for Windows platform and delphi6
This is an idea only.



 
Kladov   (2003-03-05 16:42) [3]


> I will send You an example project

I am waiting your sample.


 
Boguslaw   (2003-03-07 19:14) [4]

Look for it tomorrow,truly sorry ,I had no time ;-(
But it is simple - just get Demo2Forms and add in OnMessage event for a second form this code:

Result:=false;
if (Msg.Message=WM_KEYDOWN) and (Msg.WParam=27) then begin
Result := true;
Form.Close;
end;

In KOL 1.67 and previous it worked , now doesn"t.



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

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

Наверх




Память: 0.44 MB
Время: 0.009 c
8-66018
mdsns
2003-07-23 07:48
2003.11.20
MediaPlayer


3-65725
Murder
2003-11-03 13:25
2003.11.20
Работа с Excel


14-66117
Corel
2003-10-28 17:47
2003.11.20
Corel Draw подскажите сайты.


1-65929
Chuha
2003-11-11 15:09
2003.11.20
Окна


14-66065
NailMan
2003-10-30 12:22
2003.11.20
Посоветуйте хостинг, бесплатный, без излишеств





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