View previous topic :: View next topic |
Author |
Message |
DollySheep
Joined: 03 Oct 2006 Posts: 3
|
Posted: Tue Oct 03, 2006 9:32 am Post subject: ecAction problem |
|
|
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 |
|
|
econtrol Site Admin
Joined: 09 Jun 2006 Posts: 202
|
Posted: Tue Oct 03, 2006 3:56 pm Post subject: |
|
|
Hello.
Which Delphi version are you using?
Michael. |
|
Back to top |
|
|
DollySheep
Joined: 03 Oct 2006 Posts: 3
|
Posted: Wed Oct 04, 2006 8:27 am Post subject: |
|
|
HI Michael.
I use Delphi 7, enterprise version. |
|
Back to top |
|
|
DollySheep
Joined: 03 Oct 2006 Posts: 3
|
Posted: Wed Oct 04, 2006 8:42 am Post subject: |
|
|
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 |
|
|
tranglos
Joined: 12 Dec 2007 Posts: 12 Location: Poland
|
Posted: Sat Jan 12, 2008 8:10 pm Post subject: Re: ecAction problem |
|
|
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 |
|
|
econtrol Site Admin
Joined: 09 Jun 2006 Posts: 202
|
Posted: Sun Jan 13, 2008 4:01 pm Post subject: |
|
|
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 |
|
|
tranglos
Joined: 12 Dec 2007 Posts: 12 Location: Poland
|
Posted: Mon Jan 14, 2008 11:21 pm Post subject: |
|
|
I'll try that, thanks a lot!
marek |
|
Back to top |
|
|
|