EControl Ltd. Forum Index EControl Ltd.
VCL libraries and software support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ecAction problem

 
Post new topic   Reply to topic    EControl Ltd. Forum Index -> EControl Syntax Editor
View previous topic :: View next topic  
Author Message
DollySheep



Joined: 03 Oct 2006
Posts: 3

PostPosted: Tue Oct 03, 2006 9:32 am    Post subject: ecAction problem Reply with quote

Hello!

At design time, when I try to add a Standard ecAction to a TActionList I get the following error: "Class TActionList not found". When I open a project wich already has an ActionList that contains EC Standard Actions, there is no problem! The project compiles and runs fine. The proble is only with the creation of TecBaseAction descendants....

Other standard actions work fine!
Only TecBaseAction descendants generate this error.

I have the 2.26 (last, I think) ecSyntEdit verison...

Does anybody have a clue?

Thanks!

Cosmin.
Back to top
View user's profile Send private message
econtrol
Site Admin


Joined: 09 Jun 2006
Posts: 202

PostPosted: Tue Oct 03, 2006 3:56 pm    Post subject: Reply with quote

Hello.

Which Delphi version are you using?

Michael.
Back to top
View user's profile Send private message Send e-mail
DollySheep



Joined: 03 Oct 2006
Posts: 3

PostPosted: Wed Oct 04, 2006 8:27 am    Post subject: Reply with quote

HI Michael.
I use Delphi 7, enterprise version.
Back to top
View user's profile Send private message
DollySheep



Joined: 03 Oct 2006
Posts: 3

PostPosted: Wed Oct 04, 2006 8:42 am    Post subject: Reply with quote

Hi Michael,

I've sent you a small movie that demonstrates the error.
(at support@econtro.ru)

Is made with camStudio an the compressed version (rar) has only 300K.[/url][/code]
Back to top
View user's profile Send private message
tranglos



Joined: 12 Dec 2007
Posts: 12
Location: Poland

PostPosted: Sat Jan 12, 2008 8:10 pm    Post subject: Re: ecAction problem Reply with quote

DollySheep wrote:
Hello!

At design time, when I try to add a Standard ecAction to a TActionList I get the following error: "Class TActionList not found". When I open a project wich already has an ActionList that contains EC Standard Actions, there is no problem! The project compiles and runs fine. The proble is only with the creation of TecBaseAction descendants....


This is still happening in 2.40, Delphi 6.02 - the same exact symptoms.

One additional observation: When trying to add an ec action, the exception is thrown. But a remnant of the action object is still added to the dfm file (not to the pas file), looking like this:

Code:
  object TecCut
    Caption = 'Cu&t'
    Hint = 'Cut|Cut selection to clipboard'
    ShortCut = 16472
  end


The action is not displayed in the ActionList component. On subsequent runs it causes another error: "Exception EClassNotFound - Class TecCut not found". The project will not run until this code is manually removed from the dfm file.

marek
Back to top
View user's profile Send private message Visit poster's website
econtrol
Site Admin


Joined: 09 Jun 2006
Posts: 202

PostPosted: Sun Jan 13, 2008 4:01 pm    Post subject: Reply with quote

I can not reproduce problem. It was a single report of such problem and I did not received another reports.

Open in Delphi IDE ecActRes.pas unit from SyntEditDcl6.dpk. After that rebuild this package.

Another possible solution is to add to ecActRes.pas:
Code:
initialization
  RegisterClass(TActionList);


Michael.
Back to top
View user's profile Send private message Send e-mail
tranglos



Joined: 12 Dec 2007
Posts: 12
Location: Poland

PostPosted: Mon Jan 14, 2008 11:21 pm    Post subject: Reply with quote

I'll try that, thanks a lot!

marek
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    EControl Ltd. Forum Index -> EControl Syntax Editor 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 phpBB © 2001, 2005 phpBB Group