Page 1 of 1

[Bug] When using Tabbed Document Interface

Posted: Tue Jan 27, 2009 5:13 pm
by MaskMaster
Hi all, i think I found a bug when using a Tabbed Document Interface (TDI). If I create a new Tab with a TRichView in a pagecontrol and try to add a line without having oppened the new tab, the application stop to work, but if I open the tab and stay in it or even open another and add a line, the application works perfect.

Delphi Version: Delphi 2009
RichView Version: 11.0

Thanks for the attention XD

Posted: Tue Jan 27, 2009 5:34 pm
by Sergey Tkachenko
Please send me a test project to [email protected]

Posted: Wed Jan 28, 2009 2:19 am
by MaskMaster
Sergey Tkachenko, I sent the test project to your e-mail. If possible I would like to be noticed about the progress. Many thanks and sorrow for the bad english.

Posted: Wed Jan 28, 2009 5:33 pm
by Sergey Tkachenko
Not received, sorry. Please resend to richview at gmail.com

Posted: Thu Jan 29, 2009 3:45 am
by MaskMaster
Now I sent correct :D
Waiting for news.

Posted: Thu Jan 29, 2009 1:38 pm
by Sergey Tkachenko
It was quite hard to debug this project, because usually connections attempts were ended by time out...
I think the problem is not in tabs but in threads. IdIRCJoin is called in thread context, not in the context of the main process.
I tried to move a channel creation from this function, using PostMessage.
After that, the project seems to works normally.