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

Вниз

TScrollBar. Создаю, но надо Max, Min и Position.   Найти похожие ветки 

 
RA   (2003-11-07 13:04) [0]

TScrollBar. Создаю, но надо Max, Min и Position . А событие
onScroll срабатывает только когда перетягиваешь полосу прокрутки,
а когда пользуешься стрелками, то оно не возникает. И когда преретягиваешь полосу, то все равно она становится обратно.


 
RA   (2003-11-07 13:04) [0]

TScrollBar. Создаю, но надо Max, Min и Position . А событие
onScroll срабатывает только когда перетягиваешь полосу прокрутки,
а когда пользуешься стрелками, то оно не возникает. И когда преретягиваешь полосу, то все равно она становится обратно.


 
BelchonokH ©   (2003-11-07 18:35) [1]

Я в похожей ситуации ручками делал, через onMessage...


 
BelchonokH ©   (2003-11-07 18:35) [1]

Я в похожей ситуации ручками делал, через onMessage...


 
zeze   (2003-11-07 21:38) [2]

Application.OnIdle := DrawIt;

what"s the equivalent KOL event ?
onMessage doesn"t seem to work.

thanks!
(english please)


 
zeze   (2003-11-07 21:38) [2]

Application.OnIdle := DrawIt;

what"s the equivalent KOL event ?
onMessage doesn"t seem to work.

thanks!
(english please)


 
SPeller ©   (2003-11-08 06:49) [3]


> zeze   (07.11.03 21:38) [2]

Make new topic with your question.


 
SPeller ©   (2003-11-08 06:49) [3]


> zeze   (07.11.03 21:38) [2]

Make new topic with your question.


 
Gandalf ©   (2003-11-08 19:27) [4]

Replace standart Run but own...
For example add in  proj_1.inc like run:


// AppletWnd = Form1.Form
//procedure Run( var AppletWnd: PControl );
//begin
 AppletRunning := True;
 Applet := AppletWnd;
 AppletWnd.CreateWindow; //virtual!!!
 while not AppletTerminated do
 begin
   WaitMessage;
   if AppletWnd.ProcessMessages not then // New
   begin
    // Your Idle code here
  end;  
 if AppletWnd <> nil then
   TerminateExecution( AppletWnd );
//end;


Dont forget exit after it (because real Run needn"t). This is MCK Method. In pure KOL simply use your Run.

See full discussion here (Russion) http://delphimaster.net/view/11-1045034380/


 
Gandalf ©   (2003-11-08 19:27) [4]

Replace standart Run but own...
For example add in  proj_1.inc like run:


// AppletWnd = Form1.Form
//procedure Run( var AppletWnd: PControl );
//begin
 AppletRunning := True;
 Applet := AppletWnd;
 AppletWnd.CreateWindow; //virtual!!!
 while not AppletTerminated do
 begin
   WaitMessage;
   if AppletWnd.ProcessMessages not then // New
   begin
    // Your Idle code here
  end;  
 if AppletWnd <> nil then
   TerminateExecution( AppletWnd );
//end;


Dont forget exit after it (because real Run needn"t). This is MCK Method. In pure KOL simply use your Run.

See full discussion here (Russion) http://delphimaster.net/view/11-1045034380/


 
Gandalf ©   (2003-11-08 19:28) [5]

And of cause you cant use RegisterIdleHandler (KOL>=1.85)


 
Gandalf ©   (2003-11-08 19:28) [5]

And of cause you cant use RegisterIdleHandler (KOL>=1.85)


 
Gandalf ©   (2003-11-08 19:33) [6]

Насчет бара - видимо руками.


 
Gandalf ©   (2003-11-08 19:33) [6]

Насчет бара - видимо руками.



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

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

Наверх





Память: 0.48 MB
Время: 0.029 c
11-1068202747
Sagrer
2003-11-07 13:59
2004.05.09
Можно ли сделать MsgOK модальным?


1-1082729140
Murad
2004-04-23 18:05
2004.05.09
Символы "<" и ">" в IXMLDocument


1-1082609206
Вова_
2004-04-22 08:46
2004.05.09
Как спрятать курсор?


1-1082678989
Бегун
2004-04-23 04:09
2004.05.09
TListBox


14-1082288623
Sur
2004-04-18 15:43
2004.05.09
Почему русскому программисту судит американский суд?





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