>>>>Hi,
>>>>
>>>>I had constructed a syntax error in myForm.vcx. However ignored the warning when saving.
>>>>Reopening the form class does not give the warning anymore. However on starting the myForm.scx it gives a warning "syntax error" which you can also ignore and run the form.
>>>>Would like to correct this, however don't have any idea in which of the countless code's in this form I have to look.
>>>>What is the most elegant way to locate the wrong coding line?
>>>>
>>>>Regards,
>>>>Koen
>>>
>>>Recompile all the forms and look in the forms' folders for .ERR files. Open the .ERR file(s) with notepad
>>
>>Hi,
>>
>>What I did sofar:
>>opened the form in classbrowser ->opened the classlib ->selected the class and clicked View Class Code.
>>
>>Saved the code to myform.prg
>>added the lines at the beginning (just to show the form)
>>
>>loTest = Createobject("frmaanvraag")
>>loTest.Show(1)
>>
>>
>>And most of my objects gave an error, even the most simple object as a label:
>>
>>ADD OBJECT frmaanvraag.kvbasepageframe1.page1.kvbaselabel3 AS kvbaselabel WITH FontSize = 8, Caption = "Naam :", Height = 17, Left = 61, Top = 74, Width = 43, ZOrderSet = 11, Name = "Kvbaselabel3"
>>
>>Error in line 134: Syntax error.
>>
>>Am I facing a corrupt frmAanvraag.vcx?
>>Since > 150 objects on this form, I am not happy to reconstruct.
>>Also what is the syntax error ?
>>
>
>Is there an INCLUDE file compiled with the class? Or any preprocessor directives?
No, No just a plain form with lots of objects
Regards,
Koen