Problème création composant EClassNotFound
Bonjour,
j'ai créé deux composants :
L'un TGridGrafcethérité d'un TCustomGridPanel
L'autre TEtapeInitaile hérité d'un TGraphicControl
Mon composant TGridGrafcet appelle en dynamique le composant TEtapeInitiale.
J'enregistre les composant dans la palette grace à (je ne veux pas que TEtapeInitiale soit apparant dans la palette) :
Code:
1 2 3 4
|
RegisterClass(TEtapeInitiale);
RegisterComponentEditor(TGridGrafcet, TGridGrafcetEditor);
RegisterComponents('TestGrapf7', [TGridGrafcet]); |
Quand je mets le composant sur un fiche tout se passe très bien mon TGridGrafcetavec le TEtapeInitiale s'affiche très bien.
Le problème est quand j'exécute ma fiche j'ai un exception m'indiquant que une EClassNotFound de mon TEtapeInitaile.
Avez vous une solution.
Merci