Board index » delphi » check if a runtime-created component is ready/finished
Siegfried Hildebrand
![]() Delphi Developer |
Mon, 01 Jul 2002 03:00:00 GMT
|
Siegfried Hildebrand
![]() Delphi Developer |
Mon, 01 Jul 2002 03:00:00 GMT
check if a runtime-created component is ready/finished
Hi,
I have a problem here with some components that I am creating at runtime. I want to clear lines in a new RichEdit so I do: with TRichEdit.Create(Self) do It must takes some time until the creation has finished and I can Can anyone help me out? Thanks in advance |
Team
![]() Delphi Developer |
Mon, 01 Jul 2002 03:00:00 GMT
Re:check if a runtime-created component is ready/finishedIn article <47kk58.ug7...@stargate.nixcomp>, Siegfried Hildebrand wrote: Quote> I have a problem here with some components that I am empty. Quote> It must takes some time until the creation has finished and I can is not visible, for instance), you can force that by calling HandleNeeded. Peter Below (TeamB) 100113.1...@compuserve.com) Sent using Virtual Access 5.00 - download your freeware copy now |
Gabriel Forne
![]() Delphi Developer |
Mon, 01 Jul 2002 03:00:00 GMT
Re:check if a runtime-created component is ready/finishedIf you are creating the component at run time, don't name it. If you don't name it, you wont have any lines in the text. This is what you want: with TRichEdit.Create(Self) do -Gabe QuoteSiegfried Hildebrand wrote: |
Siegfried Hildebran
![]() Delphi Developer |
Tue, 02 Jul 2002 03:00:00 GMT
Re:check if a runtime-created component is ready/finishedHello, Quote> > Lines.Clear; // This line here is the problem with the RichEdit. I want to put in some other otions and make Lines.Add('test'), too, ans quick as possible. Again, I want do this (now comlete ;-): with TRichEdit.Create(Self) do So, WHEN can I do the above to the new RichEdit without Thanks, |
Team
![]() Delphi Developer |
Wed, 03 Jul 2002 03:00:00 GMT
Re:check if a runtime-created component is ready/finishedIn article <vivm58.sh...@stargate.nixcomp>, Siegfried Hildebrand wrote: Quote> with TRichEdit.Create(Self) do i tried your code (just replacing Someparent with panel1) in a Peter Below (TeamB) 100113.1...@compuserve.com) Sent using Virtual Access 5.00 - download your freeware copy now |
Siegfried Hildebran
![]() Delphi Developer |
Fri, 05 Jul 2002 03:00:00 GMT
Re:check if a runtime-created component is ready/finishedHello Peter, Quote> i tried your code (just replacing Someparent with panel1) in a (Same procedure, using D5 with Win98SE) Quote> Where exactly do you try to execute this code? When a message comes in, the NMMSGServ OnMSG handler is called: procedure TMainForm.MsgServerMSG(Sender: TComponent; const sFrom, sMsg: It calls my 'TabSheet+RichEdit-Creation-Procedure' ReceiveMessage, The ReceiveMessage-procedure makes the problem: procedure TMainForm.ReceiveMessage(From, Msg: String); begin I hope you can tell me what's going wrong here. Thanks in advance, |
Team
![]() Delphi Developer |
Sat, 06 Jul 2002 03:00:00 GMT
Re:check if a runtime-created component is ready/finishedIn article <adnv58.cl3...@stargate.nixcomp>, Siegfried Hildebrand wrote: Quote> with TTabSheet.Create(Self) do begin Only set the Pagecontrol property. Since i have 0 experience with these components you are using i can Peter Below (TeamB) 100113.1...@compuserve.com) Sent using Virtual Access 5.00 - download your freeware copy now |
1. drag/drop runtime created labels on runtime created pagecontrol
2. I am not able to create TQRLABEL components in beforeprint event of the TQRband
3. Checking if printer is ready
4. Checking until server is ready
5. TCheckListBox component, Checked in runtime
6. Better way to check if drive ready?
7. How to check if process has finished ?
8. Executing programs and checking when they finish