Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
V6s5 - FOR EACH OBJECT infinite recursion for PageFrames
Message
De
27/01/2004 10:43:09
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00870966
Message ID:
00870982
Vues:
21
hello,

i think you have to pass the page objects into the setlocale method .. not the Pageframe itself ..

e.g

SetLocale Method:
LPARAMETERS tcObj

DO CASE

CASE PEMSTATUS(tcObj,'Controls',5)
FOR EACH loObj IN tcObj.Controls
SetLocale(loObj)
ENDFOR

CASE PEMSTATUS(tcObj,'Pages',5)
FOR EACH loPage IN tcObj.Pages
SetLocale(loPage)
ENDFOR

ENDCASE

now passing a form reference to the SetLocale Method should iterate over all controls in the form

Regards

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

Click here to load this message in the networking platform