Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Private-Declaration produces deadlock
Message
 
 
À
08/05/2000 09:38:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00367209
Message ID:
00367349
Vues:
36
What error message(s) were you getting?

>Hi all,
>last week I had a problem with some code in one of my formclasses. After several debugs and tests I now have found out, that it all depended on the 'private'-declaration of two variables. After changing 'private' to 'local' everything is working fine. However I don't have any explanation for this.
>
>Perhaps someone can give me a hint. Here is the original code:
>
>* Begin code
>Private laArray(1), liFlag /* now changed to Local
>With This
> .Lockscreen = .T.
> For liflag = 1 To .ControlCount
> = AMembers(laArray, .Controls(liFlag), 1)
> If AScan(laArray, 'resize') > 0
> .Controls(liFlag).Resize
> EndIf
> EndFor
> .Lockscreen = .F.
>EndWith
>* End code
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform