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
[Bug] When using Tabbed Document Interface
-
- Site Admin
- Posts: 17571
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Please send me a test project to svt@trichview.com
-
- Posts: 4
- Joined: Tue Jan 27, 2009 5:00 pm
-
- Site Admin
- Posts: 17571
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Site Admin
- Posts: 17571
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
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.
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.