Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Syntax error tracing
Message
De
01/12/2016 12:16:49
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Divers
Thread ID:
01644145
Message ID:
01644192
Vues:
48
>>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 ?
>>
>>Regards,
>>
>>Koen
>
>You are going in wrong direction. When containers involved, Class Browser creates code that cannot be executed

Sergey,

do you mean to say, I should first remove my 6 containers with each 5 objects?
Could verywell be possible that in that coding is something wrong, since it was the last thing I added.

Regards,

Koen
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform