Главная страница | назад





Article #17250: 'TActiveFormX declaration missing or incorrect' error

 Question and Answer Database

FAQ2250D.txt   'TActiveFormX declaration missing or incorrect' error
Category   :ActiveX/OLE/COM/ActiveForm
Platform    :All
Product    :Delphi 3.x  

Question:
What does this error mean and how do I solve the problem?

Answer:
This is usually caused by changing the name of an ActiveForm in 
the incorrect order (see README.TXT). If the name of the CoClass 
is changed first and then does a refresh, an AV will occur.  
Proceeding to use the Object Inspector to change the name of the 
form will cause "TActiveFormX declaration missing or incorrect". 
To fix this he will need to open the .DFM file 
and change the line:

  object ActiveFormX: TActiveFormX

    to,

  object MyForm: TMyForm

7/16/98 4:31:28 PM
 

Last Modified: 01-SEP-99