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) :
Quand je mets le composant sur un fiche tout se passe très bien mon TGridGrafcetavec le TEtapeInitiale s'affiche très bien.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 RegisterClass(TEtapeInitiale); RegisterComponentEditor(TGridGrafcet, TGridGrafcetEditor); RegisterComponents('TestGrapf7', [TGridGrafcet]);
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
Partager