[Bug] When using Tabbed Document Interface

General TRichView support forum. Please post your questions here
Post Reply
MaskMaster
Posts: 4
Joined: Tue Jan 27, 2009 5:00 pm

[Bug] When using Tabbed Document Interface

Post 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
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Please send me a test project to [email protected]
MaskMaster
Posts: 4
Joined: Tue Jan 27, 2009 5:00 pm

Post 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.
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Not received, sorry. Please resend to richview at gmail.com
MaskMaster
Posts: 4
Joined: Tue Jan 27, 2009 5:00 pm

Post by MaskMaster »

Now I sent correct :D
Waiting for news.
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
Post Reply