Главная страница
    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.45 MB
Время: 0.091 c
3-65699
Gawk
2003-10-30 10:12
2003.11.20
Вопрос по FreeReport


1-65827
BlackTiger
2003-11-11 17:25
2003.11.20
Как на канве вывести текст вертикально?


14-66096
isko
2003-10-29 08:50
2003.11.20
про одну игру(тоже навеяло)


1-65933
axx
2003-11-11 09:44
2003.11.20
Свой конструктор MDIChild формы


3-65711
Anatoly Podgoretsky
2003-10-22 01:02
2003.11.20
TDBF документация





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