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

Вниз

Progress в статус бар формы   Найти похожие ветки 

 
Zoom   (2005-04-19 20:09) [0]

А как вставить PB в SB в KOL? Что-то не получается, как в VCL.


 
thaddy   (2005-04-19 20:39) [1]

You can use the property statusctl as the owner of the PB! Easy!


 
thaddy   (2005-04-19 20:40) [2]

You can use the property statusctl as the owner of the PB! Easy!


 
Zoom   (2005-04-19 20:44) [3]

Yep. I tried it. How to exactly?


 
thaddy   (2005-04-19 22:16) [4]

procedure NewForm1( var Result: PForm1; AParent: PControl );
begin
 New(Result,Create);
 with Result^ do
 begin
   Form:= NewForm(AParent,"KOLForm").SetSize(600,400).centeronparent.Tabulate;
   Applet:=Form;
   Form.Add2AutoFree(Result);
   Form.simplestatustext:="";
   PB:=NewProgressBar(Form.StatusCtl);
   PB.resizeparent;
   PB.Progress:=50;
 end;
end;


 
thaddy   (2005-04-19 22:27) [5]

explanation: the control is only created when referenced, so you should use at least form.simplestatustext;
The resizeparent is not necessary.

(off_topic)
When I feel lazy and use Babelfish, my posts will arrive two times :) Better learning Russian properly :) Sorry to the webmaster
(end_off_topic)



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

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

Наверх





Память: 0.45 MB
Время: 0.037 c
2-1132942844
The One
2005-11-25 21:20
2005.12.11
EAccessViolation при обращении к полю класса


3-1129972925
mnm
2005-10-22 13:22
2005.12.11
Стоит ли использовать Access?


2-1132593006
floxi
2005-11-21 20:10
2005.12.11
Memo


4-1127541341
GrayFace
2005-09-24 09:55
2005.12.11
Нерастяжимое окно. WS_SIZEBOX vs WS_SYSMENU.


2-1132337212
Sysanin
2005-11-18 21:06
2005.12.11
Закрытие программы





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