SiComponents Home Page SiComponents Forums
Here you will be able to get help and share your experience
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TsiLang not working on DataModule in XE2

 
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite
View previous topic :: View next topic  
Author Message
gabr42



Joined: 22 Jan 2013
Posts: 2

PostPosted: Wed Jan 23, 2013 9:09 am    Post subject: TsiLang not working on DataModule in XE2 Reply with quote

TsiLang (and other TsiLang Components Suite components) are not working correctly if I put them on a DataModule in Delphi XE2. In D2007 they work just fine.

Steps to reproduce:
- Create new visual application.
- Create new data module.
- Drop a TsiLang component on a data module.
- Save everything.
- Close the data module.
- Reopen the data module.

Delphi reports:

=================================
Error Reading form: 'DataModule153'
------------------
Class TsiLang not found. Ignore the error and continue? NOTE: Ignoring the error may cause components to be deleted or property values to be lost.
=================================

If I ignore the error, TsiLang component is deleted from the form.

The same scenario works just fine in Delphi 2007.

I'm using the latest TsiLang (6.5.5) and have verified this behaviour on two computers, both running Delphi XE2 Update 4 Hotfix 1.
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Fri Feb 01, 2013 8:06 am    Post subject: Reply with quote

Hello,

Sorry for the delay. May be you didn't set ClassGroup property of DataModule to "Vcl.Controls.TControl"? And IDE removes TsiLang as it is VCL based class from the datamodule.
Back to top
View user's profile Send private message
gabr42



Joined: 22 Jan 2013
Posts: 2

PostPosted: Fri Feb 01, 2013 1:28 pm    Post subject: TsiLang not working on DataModule in XE2 Reply with quote

That was it! Thanks a lot!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by p h p B B  © 2001, 2005 p h p B B  Group