Вниз
Скачать: CL | DM;

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

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.043 c
1-1131646175
Canvas
2005-11-10 21:09
2005.12.11
TCanvas для принтера


3-1129111866
DancerMan
2005-10-12 14:11
2005.12.11
TWebBrowser или ...?


2-1132735366
yrbanchik
2005-11-23 11:42
2005.12.11
светомузыка


14-1132304552
Vlad Oshin
2005-11-18 12:02
2005.12.11
Все. Вообще все наперекосяк....


6-1125308417
Irinka
2005-08-29 13:40
2005.12.11
Пересылка и получение файлов с помощью сокетов




   Наверх