 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Andreas Grotz Guest
|
Posted: Fri Jul 09, 2004 3:26 pm Post subject: Accessing ActiveX-Form from a Thread |
|
|
Hi @ll
i've written an IRC-Client and want to convert it into an ActiveX
mhm before i converted it i used a trick to access the TForm in Thread
type tirc = class(tthread);
main:tmain; // << form
procedure execute;override;
end;
procedure tirc.execute;
begin
main.edit1.text:='someexample';
end;
but in ActiveX this dont work i get the Error: Incompatible Typ Tmain and
TGUID ...
is my main question is how can i access the Form(ActiveX)-Components from
inside the Thread ?!
in ActiveX theres no Object like main:tmain; which could i use...
so how can i realize this example in ActiveX ...
procedure tirc.execute;
begin
main.edit1.text:='someexample';
end;
(sorry for not attaching thread but thats 1500 lines hard work)
MfG Andrew
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|